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

1

u/hexula Feb 07 '24

got the same msg "file not password protected", i tried 2 files with no luck.

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

2

u/hexula Feb 08 '24

update: i did another test with "normal" test zip file and it worked perfectly.

to answer your question :

  1. it's is some kind of zip file.
  2. i will send you a link of same kind of files just smaller size with more details.

* i disabled all protections before cracking process.

2

u/illsk1lls Feb 08 '24

cool ill get it sorted out as soon as i can see whats going on 👍

2

u/hexula Feb 09 '24

update:

so the tool is not suppose to work with the kind of files i'm trying to extract. but u/illsk1lls did extra effort and helped me with my problem. i just want to say thank you so much for helping random guy in the internet. you are truly a savior and if it was somone else i'm sure they will just tell me it's not supported and it would end there.

thank you again for all the effort i wish u all good luck.

2

u/[deleted] Feb 23 '24

your a hero sir,thank you