illsk1lls / ZipRipper

A CMD script to crack password protected ZIP, RAR, 7z and PDF files, using JohnTheRipper.
171 stars 20 forks source link

no password file created #10

Closed ZP-Gaming closed 1 month ago

ZP-Gaming commented 1 month ago

i ran the cmd and made sure everything was working properly and it finished and closed the cmd but didnt create any password file like it said it was supposed to. im not sure what is happening, any ideas?

illsk1lls commented 1 month ago

are you using redirected onedrive folders? (redirected desktop)

ZP-Gaming commented 1 month ago

dont think so but ill check, pretty sure i deleted one drive off my pc

ZP-Gaming commented 1 month ago

yeah one drive isnt even on my pc and the files for the cmd are on my d drive

illsk1lls commented 1 month ago

if you type CD %UserProfile%\Desktop into CMD prompt does it take you to your desktop folder?

ZP-Gaming commented 1 month ago

says system cannot find path specified image_2024-05-12_104529805

illsk1lls commented 1 month ago

what happens if you type chcp 1252 CD %UserProfile%\Desktop does it work then?

ZP-Gaming commented 1 month ago

it does not

illsk1lls commented 1 month ago

what is your system language?

also, close and reopen cmd prompt and just type chcp and post the output

ZP-Gaming commented 1 month ago

English, could it possibly be a antivirus issue because i had to unblock some of the processes to get it to run? Capture

illsk1lls commented 1 month ago

No it is the language\codepage on your machine..

Your path should look like C:\Users\Zachary Pugh>

But instead it looks like C:ҰUsersҰZachary Pugh>

What country are you in?

ZP-Gaming commented 1 month ago

United States, cmd defaults \ to that symbol for me

illsk1lls commented 1 month ago

Your system is set incorrectly.

Your default codepage should be 437 or 1252, and there should be backslashes ( \ ) in your paths not yen and yuan signs ( Y with 2 slashes, the sign for Japanese money)

illsk1lls commented 1 month ago

the answer for your issue is listed here

https://superuser.com/questions/1167662/why-is-windows-10-displaying-as-%C2%A5-on-the-command-line

ZP-Gaming commented 1 month ago

never seen that happen before lol, i do have japanese language pack installed but i think it defaulted to that even before it was installed because i remember seeing that symbol in cmd before i even installed the pack

illsk1lls commented 1 month ago

Let me know how it goes 👍 or if I dont hear back I’ll assume you’re ok after a few days and close the issue

ZP-Gaming commented 1 month ago

just restarted pc from changing it back to english will run it again and will confirm if it works in a sec

illsk1lls commented 1 month ago

I may add a warning for this, i was considering having the script automatically do it, but if it requires a restart i wont be able to seamlessly/automatically change it back… maybe a warning with instructions is better

ZP-Gaming commented 1 month ago

yeah as i changed it, it said i had to restart my pc so prob not a bad idea to add warning because i was so confused with what was happening, but hasnt seemed to fix it for some reason and both chcp 437 and 1252 dont pull anything up for the cmd stuff earlier image_2024-05-12_112416702

illsk1lls commented 1 month ago

type ECHO %USERPROFILE%

ZP-Gaming commented 1 month ago

image_2024-05-12_112602907

illsk1lls commented 1 month ago

hang tight, your user profile variable is messed up, its missing the path, im finding a fix

illsk1lls commented 1 month ago

Open RegEdit on your computer and paste the following address into the top address bar HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList On the lefthand side, Ignore S-1-5-XX, starting at the longer keys ( S-1-5-XX-XXXXXXXX...) click them one at a time and on the right side you will see a key called "ProfileImagePath" with a value. Do this until you find the one with your name in it. It is also supposed to have the path. Can you see whats there?

ZP-Gaming commented 1 month ago

the value of the profile image path is C:\Users\Zachary Pugh

illsk1lls commented 1 month ago

when i echo %userprofile% on my end (and on other machines) i get the full path with my user folder, not my display name...

What you see in your profileimagepath key is what is supposed to be inside that variable.. let me check something else real quick

illsk1lls commented 1 month ago

Do you get different output for these two commands? echo %userprofile% or this echo %systemdrive%\users\%username%

ZP-Gaming commented 1 month ago

basically is just repeating what i typed minus the echo part

illsk1lls commented 1 month ago

This echo %systemdrive%\users\%username% doesnt display this? C:\Users\Zachary Pugh

ZP-Gaming commented 1 month ago

i did that wrong my bad it does display that

illsk1lls commented 1 month ago

ok I'm gonna update the script and test it on my end and if it works ill publish it, give me a few minutes to test the changes...

on normal systems they should both display the same thing... but youre not the first person to have issues saving the output file, so maybe this will help multiple issues including the onedrive redirection..

ZP-Gaming commented 1 month ago

ok lmk when its updated so i can see if it works on my end

illsk1lls commented 1 month ago

All set, download the latest version and give it a shot ;)

Make sure to refresh the page first..

ZP-Gaming commented 1 month ago

looks like its possibly working now because previously it wasnt even running john the ripper

illsk1lls commented 1 month ago

thanks for testing it

illsk1lls commented 1 month ago

I will close the issue, please reopen a new one if needed.

*I also added a new wordlist option, if this run doesnt yield results you can update and give it another shot 😉