pdfrip icon indicating copy to clipboard operation
pdfrip copied to clipboard

wordlist crack dosent work

Open livcoding2 opened this issue 1 year ago • 8 comments

livcoding2 avatar Feb 24 '24 15:02 livcoding2

Convert the wordlist text file to unix format using dos2unix tool

ishanfdo18098 avatar Apr 07 '24 05:04 ishanfdo18098

@ishanfdo18098 I did dos2unix -f rockyou.txt then copied the (supposedly) converted file, but pdfrip still doesn't seem to work with it - after 5 seconds, it returns Success! Found password: (which is just blank) #31

iFUCKINGHATEcomputers avatar Jul 06 '24 11:07 iFUCKINGHATEcomputers

@ishanfdo18098 I did dos2unix -f rockyou.txt then copied the (supposedly) converted file, but pdfrip still doesn't seem to work with it - after 5 seconds, it returns Success! Found password: (which is just blank)

Are you using WSL ?

ishanfdo18098 avatar Jul 06 '24 11:07 ishanfdo18098

Just Windows, might try on Linux. This is the wordlist: https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt

iFUCKINGHATEcomputers avatar Jul 06 '24 11:07 iFUCKINGHATEcomputers

Convert the wordlist text file to unix format using dos2unix tool

This fixed my issue because I was creating the file in windwos and then running pdfrip in WSL. (in my case it said that the password couldnt be found even when the password was there in the wordlist) My case was caused by the difference in line endings in windows and WSL i think.

Maybe your issue is different.

ishanfdo18098 avatar Jul 06 '24 11:07 ishanfdo18098

@ishanfdo18098 You clever SOB - just now I converted the wordlist I'd previously converted with dos2unix back into DOS with unix2dos, and now pdfrip works with it. No idea if double conversion was necessary - it was probably just unix formatted to begin with. So this is the final command I used: unix2dos -f rockyou.txt

iFUCKINGHATEcomputers avatar Jul 06 '24 11:07 iFUCKINGHATEcomputers

@ishanfdo18098 You clever SOB - just now I converted the wordlist I'd previously converted with dos2unix back into DOS with unix2dos, and now pdfrip works with it. No idea if double conversion was necessary - it was probably just unix formatted to begin with. So this is the final command I used: unix2dos -f rockyou.txt

makes sense since u are working in windows. Why didnt I think about that in the first place 🤣 Glad to have helped you 😇

ishanfdo18098 avatar Jul 06 '24 11:07 ishanfdo18098

This is an issue I'm having as well using Debian 12 cli.

user@apps:~$ pdfrip -f file.pdf wordlist bt4-password.txt
           .___ _____       .__
______   __| _// ____\______|__|_____
\____ \ / __ |\   __\\_  __ \  \____ \
|  |_> > /_/ | |  |   |  | \/  |  |_> >
|   __/\____ | |__|   |__|  |__|   __/
|__|        \/                 |__|    2.0.1

 2024-08-07T02:06:45.280Z INFO  engine > Starting password cracking job...
  [00:01:13] [████████████████████████████████████████] 1652903/1652903 100% 20086/s ETA: 0s
 2024-08-07T02:07:58.559Z INFO  cli_interface > Success! Found password:

I'm using the following wordlist file: https://github.com/danielmiessler/SecLists/blob/master/Passwords/bt4-password.txt

I've done unix2dos as well as dos2unix on the file, and tried it every which way between and still end up with it saying success but displaying nothing.

rlford avatar Aug 07 '24 02:08 rlford