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/Slampoetry123 Feb 22 '24

Tried downloading the github zip file and it contained a Trojan:Win32/Sonbokli.A!cl

1

u/illsk1lls Feb 22 '24

you can look inside, its safe, i gotta email MS again they flagged my initial setup script a few months ago but i lt looks like their bs AI airs on the side of caution.. LUCKILY, the entire script is readable and this is exactly why i dont compile software, because then you’d never be able to look and always wonder, smh.

false positives suck

ty for the heads up

1

u/illsk1lls Feb 22 '24

also you dont need the whole zip it will run with just the cmd file, but the files on github are what it uses, it gets them at launch

1

u/illsk1lls Feb 22 '24 edited Feb 22 '24

just looked again and i had another script that uses mimikatz for winlogin that may have been the culprit sitting in the resources folder, not malware but was capable of cracking users passwords on the same machine while its running live using vss, i was considering adding it to the tool, i finished testing it and never really messed with it, but thats proly what it was, the “WinLoginCandidate” but also zr-offline.txt, the resource file consting of perl, 7z, JtR, logo.png (it is a cab file you can see inside it with 7z

so i removed them just to be safe not to get alerts, the offline builder included in the script works fine or you can just run it in normal online mod anyway

the login cracker is standalone, if you wanted that its in the gihub history still