暴力破解压缩包密码,支持zip, rar 等主流压缩包工具(纯代码版),内置一个常见密码压缩表,密码表用尽后启动随机数便利,最大支持密码位数为16,自动从小开始向大破解,支持多线程,具体所需要的破解时间根据密码复杂度。
Brute force compression package password, support zip, rar and other mainstream compression package tools (pure code version), built-in a common password compression table, password table exhausted after starting random number convenience, the maximum support password length is 16, automatically from small to large crack, support multi-threading, The time required to crack the password depends on the password complexity. eWEEIt provides flexibility in password cracking methods and supports various types of compressed packages such as RAR, ZIP, and 7z.
reference: https://github.com/danielmiessler/SecLists/tree/master
git clone https://github.com/username/repository.git
pip install -r requirements.txt
需要在RAR安装环境中配置UNRAR_LIB_PATH,MacOS、Linux需要自主编译.so文件,Windows需要配置.dll环境
Set the environment variable UNRAR_LIB_PATH to the path of the libunrar.so library. For example:
export UNRAR_LIB_PATH="/path/to/libunrar.so"
python brute_force_unpack.py [-h] [-d] [-p DICPATH] [-b] [-u] [-l] [-n] [-s] [-m MAX] [-t] file
file
: Path to the compressed package file.
-h, --help
: Show the help message and exit.-d, --dic
: Use a password dictionary. (Default: false)-p DICPATH, --dicpath DICPATH
: Specify the path to the password dictionary. (Default: "password_list")-b, --brust
: Use random password generation. (Default: false)-u, --uppercase
: Include uppercase letters in generated passwords.-l, --lowercase
: Include lowercase letters in generated passwords.-n, --number
: Include numbers in generated passwords.-s, --simbol
: Include special symbols in generated passwords.-m MAX, --max MAX
: Specify the maximum length of generated passwords. (Default: 8)-t, --thread
: Enable multi-threading for faster processing. (Default: false)
如果你懒,不想去配置文件,可以生成了.so文件或者.dll文件之后,在对应的操作系统使用脚本直接运行
If you are lazy boy and don't want to go to the configuration file, you can generate a.so file or.dll file and run it directly in the corresponding operating system using this script
Bat
start run.bat
Powershell
./run.ps1
./run.sh
- password_list: 密码本存储器
- rarlib: unrar so|dll文件,目前只有m1 macOS平台编译版本,待更新,需要补充和script脚本组合
- src: 源代码
- main.py 主运行代码
关于Unrar的macOS平台的安装,如果你感兴趣,可以看一下我的博客的这篇文章: About Unrar's macOS platform installation, if you are interested, check out this post on my blog:
https://www.mustenaka.cn/index.php/2024/03/28/macosinstallunrarrarunpackagesoftware/
Mustenaka | https://github.com/Mustenaka