宇宙主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

欧基零壹微头条IP归属甄别会员请立即修改密码
楼主: QX2019

教程:hostloc签到脚本部署小鸡

  [复制链接]
发表于 2021-5-22 16:52:06 | 显示全部楼层
# pip3 install requests
Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages (2.25.1)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.6/site-packages (from requests) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.6/site-packages (from requests) (4.0.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/site-packages (from requests) (1.26.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/site-packages (from requests) (2020.12.5)
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
发表于 2021-5-22 16:58:33 | 显示全部楼层
Traceback (most recent call last):
  File "./hostloc.py", line 8, in <module>
    from pyaes import AESModeOfOperationCBC
ModuleNotFoundError: No module named 'pyaes'
 楼主| 发表于 2021-5-22 17:00:31 | 显示全部楼层
auto8624 发表于 2021-5-22 16:52
# pip3 install requests
Requirement already satisfied: requests in /usr/local/lib/python3.6/site-pac ...

找到你的python安装路径
  1. pip3 install --target=/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages requests
复制代码


/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages 在你的python安装路径
 楼主| 发表于 2021-5-22 17:02:51 | 显示全部楼层
auto8624 发表于 2021-5-22 16:58
Traceback (most recent call last):
  File "./hostloc.py", line 8, in
    from pyaes import AESModeO ...

导入pyaes这个包那句注释掉也可以
发表于 2021-5-22 17:18:03 | 显示全部楼层
先收藏  晚上试试
发表于 2021-5-22 19:29:14 | 显示全部楼层
共检测到 1 个帐户,开始获取积分
******************************
第 1 个帐户登录成功!
帐户当前积分:5779
链接访问异常:503 Server Error: Service Temporarily Unavailable for url: https://pnr2.com/space-uid-21316.html
第 2 个用户空间链接访问成功
第 3 个用户空间链接访问成功
第 4 个用户空间链接访问成功
第 5 个用户空间链接访问成功
第 6 个用户空间链接访问成功
第 7 个用户空间链接访问成功
链接访问异常:('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
链接访问异常:HTTPSConnectionPool(host='pnr2.com', port=443): Max retries exceeded with url: /space-uid-32051.html (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a1ce70470>: Failed to establish a new connection: [Errno 110] Connection timed out',))
链接访问异常:HTTPSConnectionPool(host='pnr2.com', port=443): Max retries exceeded with url: /space-uid-39494.html (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a1ce78c18>: Failed to establish a new connection: [Errno 110] Connection timed out',))
链接访问异常:HTTPSConnectionPool(host='pnr2.com', port=443): Max retries exceeded with url: /space-uid-13364.html (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a1cc03198>: Failed to establish a new connection: [Errno 110] Connection timed out',))
链接访问异常:HTTPSConnectionPool(host='pnr2.com', port=443): Max retries exceeded with url: /space-uid-30751.html (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a1cc03978>: Failed to establish a new connection: [Errno 110] Connection timed out',))
程序执行异常:HTTPSConnectionPool(host='pnr2.com', port=443): Max retries exceeded with url: /forum.php (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a1ce786d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
******************************
程序执行完毕,获取积分过程结束
发表于 2021-5-22 19:52:30 | 显示全部楼层
当前使用 ip 地址:119.28.89.98
共检测到 1 个帐户,开始获取积分
******************************
程序执行异常:HTTPSConnectionPool(host='pnr2.com', port=443): Max retries exceeded with url: /forum.php (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1876d2d940>: Failed to establish a new connection: [Errno 110] Connection timed out',))
******************************
程序执行完毕,获取积分过程结束
----------------------------------------------------------------------------
★[2021-05-22 19:31:21] Successful
----------------------------------------------------------------------------
发表于 2021-5-22 21:35:25 来自手机 | 显示全部楼层
感谢,挂在树莓派上又可以愉快地签到了
发表于 2021-5-22 21:43:59 | 显示全部楼层
汤家凤 发表于 2021-5-21 20:58
你怎么睡得着的!

坏的八得鸟
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|宇宙主机交流论坛

GMT+8, 2024-10-30 09:35 , Processed in 0.067530 second(s), 6 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表