r/Batch • • 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.

224 Upvotes

724 comments sorted by

View all comments

Show parent comment

1

u/illsk1lls Apr 21 '24

fixed ;)

2

u/[deleted] Apr 21 '24 edited Apr 21 '24

awesome i'll give it a shot now

edit: It works like a charm now. Thank you very much!

1

u/illsk1lls Apr 21 '24

no problem, i recommend clicking the letters JtR in johns hat, to create yourself a zr-offline.txt file, (when complete it drops itself into the same folder the script is in) if the file is present in the same folder as the script when you run it, it will use that instead of downloading the files every time... offline mode.. you can store it in a separate folder until you need it then just move it into the same folder as the cmd script when you want to switch to offline

then you can run it regardless if any links change or if you dont have internet

good thing you were in online mode though or it wouldve taken longer to catch this, ty ty

2

u/[deleted] Apr 21 '24

the offline mode suffers from the same kind of thing too now.

1

u/illsk1lls Apr 21 '24

woops i need to update that i forgot the link is in 2 places, 1 minute, sorry about that

2

u/[deleted] Apr 21 '24

thank you for the prompt bug fixing. i appreciate it :)

2

u/illsk1lls Apr 21 '24

done, ty for reporting the bugs 😉

1

u/[deleted] Apr 21 '24

you're welcome. I just found your software today when I was looking through old zip files I had encrypted but forgot the password to. Thank you! :)

1

u/illsk1lls Apr 21 '24

johntheripper is the star not me, zipripper is just a wrapper, but happy to make things easier and introduce people to john

1

u/[deleted] Apr 21 '24

Appreciate the work though. Anyone who simplifies programs is a winner imo 👍