2

I am currently learning kali linux and now I am using "john the ripper" and the rockyou.txt file to crack a simple password. I used this code that worked on anouther machine and another version of linux:

_

john --format=raw-md5 /usr/share/wordlists/rockyou.txt.gz /Home/Desktop/passw.txt

_

but I am getting these error messages:

_

Warning: invalid UTF-8 seen reading /usr/share/wordlists/rockyou.txt.gz

Error: UTF-16 BOM seen in input file.

_

The passw.txt is on the Desktop.

2
  • it's not working with /root/Desktop/passw.txt either – LEL Apr 6 '19 at 10:29
  • Use another editor to create the passw.txt file. – Thorbjørn Ravn Andersen Aug 28 '19 at 13:05
2

I had the same problem - it seems to be an issue with the encoding of the rockyou.txt.gz file - if you just use

john --format=raw-md5 /Home/Desktop/passw.txt

it will use /usr/share/john/password.lst by default and find the password

If you want to use rockyou.txt.gz - unzip it first with gunzip

0

john --format=raw-md5 /Home/Desktop/passw.txt

it will use /usr/share/john/password.lst by default and find the password

This has done the Magic, i just used the default

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.