hashcat Forum
Problem with hash-type? - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Problem with hash-type? (/thread-12533.html)



Problem with hash-type? - Bastard - 03-24-2025

Hi,

I have an old Unix password file and I'm testing the speed of Hashcat with it. 

This is one example line from my file (I have masked some characters with XXX):
user1:xBeYH.XXXQUgk:3124:345:User1name:a12345/user1

I'm trying to test the speed of Hashcat with this command:
hashcat.exe -m 1500 -a 3 -1 ?l?d ?1?1?1?1?1 passwords.txt

And I get this information:
----------------------------------------------------
Hash '?1?1?1?1?1': Token length exception

* Token length exception: 1/1 hashes
  This error happens if the wrong hash type is specified, if the hashes are
  malformed, or if input is otherwise not as expected (for example, if the
  --username option is used but no username is present)

No hashes loaded.
----------------------------------------------------

What did I do wrong? How to get the Hashcat to start cracking the password? Is the hash mode correct?
(Please help, because I'm very new to the Hachcat)


RE: Problem with hash-type? - Snoopy - 03-24-2025

you are mixing a mask attack with a dictionary attack

is passwords.txt your hashfile or is it a dictionary?

anyway, put your hash only the second part (xBeYH.XXXQUgk) in a textfile called hash.txt and then use

hashcat.exe -m1500 -a3 -1 ?l?d hash.txt ?1?1?1?1?1

add options like -O (optimized kernel) --status and --increment or do you know the pass is 5 chars long? --increment would start with ?1 and then go to ?1?1?1?1?1


RE: Problem with hash-type? - Bastard - 03-24-2025

(03-24-2025, 06:38 PM)Snoopy Wrote: you are mixing a mask attack with a dictionary attack

is passwords.txt your hashfile or is it a dictionary?

anyway, put your hash only the  second part (xBeYH.XXXQUgk) in a textfile called hash.txt and then use

hashcat.exe -m1500 -a3 -1 ?l?d hash.txt ?1?1?1?1?1

add options like -O (optimized kernel) --status and --increment or do you know the pass is 5 chars long? --increment would start with ?1 and then go to ?1?1?1?1?1

Thank you for this information! It really helped me and saved my time.
Now I know how to use this program.