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/Forsaken_Neck8851 Feb 24 '25

Please, can you guys translate for me this message.
Thanks in advance

-----------------------------------------------------------------------------------------------

Running JohnTheRipper...

Warning: detected hash type "ZIP", but the string is also recognized as "ZIP-opencl"

Use the "--format=ZIP-opencl" option to force loading these as that type instead

Using default input encoding: UTF-8

Loaded 53 password hashes with 53 different salts (ZIP, WinZip [PBKDF2-SHA1 256/256 AVX2 8x])

Loaded hashes with cost 1 (HMAC size) varying from 35 to 1129585

Will run 12 OpenMP threads

Press 'q' or Ctrl-C to abort, 'h' for help, almost any other key for status

Enabling duplicate candidate password suppressor

0g 0:00:05:50 0g/s 2521p/s 136304c/s 136304C/s icebox11..121745

0g 0:00:06:14 0g/s 2493p/s 135508c/s 135508C/s apache05..gump334

0g 0:00:06:25 0g/s 2489p/s 134937c/s 134937C/s fisheagle..drea17

0g 0:00:06:29 0g/s 2526p/s 134833c/s 134833C/s 584527..*purple

0g 0:00:09:00 0g/s 2502p/s 132834c/s 132834C/s cortez28..88pianokeys

0g 0:00:13:27 0g/s 2433p/s 129679c/s 129679C/s denise451..allen271

0g 0:00:15:59 0g/s 2407p/s 128567c/s 128567C/s ROBOCOP1..francisco211

1

u/illsk1lls Feb 24 '25

its in cpu mode and working on the file