What do I do in the situation where John the ripper no password hashes loaded?

426    Asked by AndreaBailey in Cyber Security , Asked on Mar 14, 2022

I am trying to learn how John works. I made a password-protected rar archive, and wrote that password inside a file named pass.txt. I used rar2john to build the hash: # more test.hash  test.rar:$rar3$*0*c15839e058bb28a3*9d55925bdd33618f3e02f8b7004faab8 However, when I try to run john, I get an error message:


# john --format=rar --wordlist=pass.txt test.rar

Warning: invalid UTF-8 seen reading test.rar

Using default input encoding: UTF-8

No password hashes loaded (see FAQ)

I tried with and without the --format and --wordlist options.


I read John The Ripper's FAQ but nothing helped me. I saw that the format rar was supported on Pentest Monkey. I even tried the example they gave, but John keeps telling me the same thing. What should I do? 

Answered by Amit raj

In this case of John the ripper no password hashes loaded - john --format=rar --wordlist=pass.txt test.rar You're telling john to look in the original .rar file for password hashes. John the Ripper does not understand how to parse .rar files (that's what rar2john is for); you need to pass the file containing the extracted password hash: john --format=rar --wordlist=pass.txt test.hash



Your Answer

Interviews

Parent Categories