ZongXR / Archive-password-cracker

设计精良的压缩包密码破解工具,具有自定义字典、导出字典、选择字典等功能。基于Python实现,支持多线程与多进程,不断完善中……
GNU Lesser General Public License v3.0
272 stars 53 forks source link

生成密码崩溃 #1

Open Jason-xy opened 4 years ago

Jason-xy commented 4 years ago

1、希望能列举依赖库 2、ryzen3600平台生成字典点击开始后崩溃

ZongXR commented 4 years ago

1、希望能列举依赖库 2、ryzen3600平台生成字典点击开始后崩溃

您好,请问崩溃是在怎样的情况下发生的呢?我又试了一下,并没有发生崩溃。

ZongXR commented 4 years ago

1、希望能列举依赖库 2、ryzen3600平台生成字典点击开始后崩溃

requirements.txt依赖文件已添加

Jason-xy commented 4 years ago

执行requirements.txt遇到以下问题: ERROR: Could not find a version that satisfies the requirement pyqt5-tools==5.13.0.1.5 (from -r requirements.txt (line 87)) (from versions: 5.11.3.1.6rc1, 5.12.3.1.6rc1, 5.13.2.1.6rc1, 5.14.0.1.7b3, 5.14.0.1.7, 5.14.1.1.7b3, 5.14.1.1.7, 5.14.2.1.7b2, 5.14.2.1.7b3, 5.14.2.1.7, 5.15.0.1.7) ERROR: No matching distribution found for pyqt5-tools==5.13.0.1.5 (from -r requirements.txt (line 87)) ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==2.1.0 (from -r requirements.txt (line 115)) (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0, 2.3.0rc1) ERROR: No matching distribution found for tensorflow-gpu==2.1.0 (from -r requirements.txt (line 115)) ERROR: Could not find a version that satisfies the requirement torch==1.4.0 (from -r requirements.txt (line 121)) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2) ERROR: No matching distribution found for torch==1.4.0 (from -r requirements.txt (line 121)) 更换版本后前两个问题解决,最后一个torch==0.1.2、torchvision==0.5.0无法安装

执行main.exe中的密码生成闪退。

ZongXR commented 4 years ago

执行requirements.txt遇到以下问题: ERROR: Could not find a version that satisfies the requirement pyqt5-tools==5.13.0.1.5 (from -r requirements.txt (line 87)) (from versions: 5.11.3.1.6rc1, 5.12.3.1.6rc1, 5.13.2.1.6rc1, 5.14.0.1.7b3, 5.14.0.1.7, 5.14.1.1.7b3, 5.14.1.1.7, 5.14.2.1.7b2, 5.14.2.1.7b3, 5.14.2.1.7, 5.15.0.1.7) ERROR: No matching distribution found for pyqt5-tools==5.13.0.1.5 (from -r requirements.txt (line 87)) ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==2.1.0 (from -r requirements.txt (line 115)) (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0, 2.3.0rc1) ERROR: No matching distribution found for tensorflow-gpu==2.1.0 (from -r requirements.txt (line 115)) ERROR: Could not find a version that satisfies the requirement torch==1.4.0 (from -r requirements.txt (line 121)) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2) ERROR: No matching distribution found for torch==1.4.0 (from -r requirements.txt (line 121)) 更换版本后前两个问题解决,最后一个torch==0.1.2、torchvision==0.5.0无法安装

执行main.exe中的密码生成闪退。

你执行main.py报什么错? pytorch这个库与本项目无关,可以不安装。

Jason-xy commented 4 years ago
  1. 程序启动正常
  2. 勾选小写字母程密码生成正常
  3. 勾选小写字母+大写字母密码生成崩溃。 报错如下:
    Traceback (most recent call last):
    File "C:\Users\Jason\Desktop\Archive-password-cracker\MainWindow.py", line 233, in on_export_dict
    self.progress_export.setMaximum(self.export_dict_thread.get_batch_count() + 1)
    OverflowError: argument 1 overflowed: value must be in the range -2147483648 to 2147483647

    看起来像是爆int了

striker520 commented 3 years ago

导出字典全选字符时,最大长度8位就会崩溃,估计是整数溢出了,建议优化一下