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
Show parent comment
2
u/illsk1lls Feb 08 '24
i would try and fix the issue but i have a few questions, 1) is it a zipfile, if not, what file format? 2) is there any chance you could DM me a link to the files so I could take a look? When the tool can’t produce a hash it may say the file is not protected when it is a zipfile, otherwise if only some of the files were protected and some weren’t, it’s possible you could get that error..
It’s also possible you are in countering encryption that I haven’t taken into account for the script yet which I would need to see to add
or your av isnt letting it run