Hash 'hashes': Token length exception No hashes loaded.
#1
Hi all,

I am a newbie/self-learning on security field and I was playing with hashcat to learn when I got stuck (on my first exercice Sad )

I created a file with a single line having the below hash.
I toke care to create using sublime_text, saving with encode UTF-8, checking for spaces or special characters (I removed the ones below from md5sum command output), but nothing helped to solve this.


$ echo "password" | md5sum > myhash
286755fad04869ca523320acce0dc6a4  -

$ cat myhash
286755fad04869ca523320acce0dc6a4(space and dash removed)

$ ./hashcat64.bin -m 0 hashes myhash
hashcat (v5.1.0) starting...

OpenCL Platform #1: Intel(R) Corporation
========================================
* Device #1: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 980/3923 MB allocatable, 4MCU

Hash 'hashes': Token length exception
No hashes loaded.

Started: Fri Jan 31 23:33:16 2020
Stopped: Fri Jan 31 23:33:16 2020

$ ./hashcat64.bin -m 0 hashes <<< 286755fad04869ca523320acce0dc6a4
hashcat (v5.1.0) starting...

OpenCL Platform #1: Intel(R) Corporation
========================================
* Device #1: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 980/3923 MB allocatable, 4MCU

Hash 'hashes': Token length exception
No hashes loaded.

Started: Fri Jan 31 23:33:32 2020
Stopped: Fri Jan 31 23:33:32 2020

Could someone help me? Please!!!
Reply
#2
the command should be:

Code:
./hashcat64.bin -a 0 -m 0 myhash mydict

both files myhash and mydict need to exist

the error message that you got, says that the file "hashes" can't be found and therefore hashcat tried to load it as Hash

But you didn't want it to be a hash directly... you wanted to specify a path... the problem is that the file must exist.

for alternative to -a 0, you can just look at the output of:
Code:
./hashcat64.bin --help

-a 0 = wordlist (dict.txt)
-a 1 = combinator (dict1.txt + dict2.txt)
-a 3 = mask/brute-force
-a 6 = word+mask
-a 7 = mask+word


you are NOT allowed to post hashes here (see https://hashcat.net/forum/announcement-2.html)

btw: you can't use "echo" like this, because it adds newlines by default (see https://hashcat.net/wiki/?id=frequently_...o_crack_it)
Reply