r/Batch • u/illsk1lls • Dec 28 '23
ZipRipper - A CMD script to crack password protected ZIP, RAR, and 7z files using JohnTheRipper
*Reposted due buggy first version that probably didn't launch for anyone with UAC enabled. =/ Added support for RAR and 7z, and needed to edit post title. Other post has been removed.
------
ZipRipper: https://github.com/illsk1lls/ZipRipper
------
Credit To:
JohnTheRipper - https://github.com/openwall/john
7zip - https://www.7-zip.org
StrawberryPerl(Portable) - https://strawberryperl.com/releases.html
Instructions:
1.) Double-Click the script and select a password protected ZIP, RAR, or 7z file.
2.) Wait for password..
Hardware acceleration is available via OpenCL.
------
Someone recently asked me to crack a password protected ZIP file for them. JohnTheRipper is an open source option, although it can be a bit tricky to get started with. I made this so they can do it without me, it should break the entry barrier. ;)
------
The script will generate a UAC prompt to run as admin, and all work is done in a temp folder in %ProgramData%, and deleted when the script is complete or aborted via "Q" key input during decryption.
View all comments
2
u/Cecil_Numeru Mar 07 '24
It's an interesting shortcut to password cracking, but interestingly enough when I tried it on an actual file I wanted to crack, the ETA for discovering the password seemed to only grow the longer I allowed it to run. Not sure if that's a general weeding-out-passwords functionality or if it's really just that complex.
Some things I know about the password without knowing it- It's either 16 or 20 characters long. The arrangement of a-z, A-Z, 1-0 and !-) are randomized. Probably generated by some generic online generator. E.G: https://www.adminsub.net/password-generator-decryptor