hashcat Forum
hcxpcapngtool -> hashcat -m 22000 -> Token lenght exxeption - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat-utils, maskprocessor, statsprocessor, md5stress, wikistrip (https://hashcat.net/forum/forum-28.html)
+--- Thread: hcxpcapngtool -> hashcat -m 22000 -> Token lenght exxeption (/thread-11149.html)



hcxpcapngtool -> hashcat -m 22000 -> Token lenght exxeption - Peon117 - 11-29-2022

I'm trying to see how long it would take me to crack my wifi password.

So I launched the software "Wifite" to capture my 4way handhsake in .cap file

Following this I use hcxpcapngtool to convert the file into a usable file for hashcat

However when I run hashcat with the newly converted file I get an error message:
"Token length exception" and hashcat stop "No hashes loaded"

I tried to convert my .cap file from the web utility, same thing.
Any ideas ?
Thanks


RE: hcxpcapngtool -> hashcat -m 22000 -> Token lenght exxeption - marc1n - 11-29-2022

add --username in command line.


RE: hcxpcapngtool -> hashcat -m 22000 -> Token lenght exxeption - Peon117 - 11-29-2022

That seem work ..


--username "enable ignore username in hashfile"
Can you explaine why i have "username" in my hashfile ?

should I have manually cleaned the .cap file with wirewshark?
Or used a special tool to remove these "username"?

where does this "username" come from?

Thanks


RE: hcxpcapngtool -> hashcat -m 22000 -> Token lenght exxeption - ZerBea - 11-29-2022

hcxpcapngtool doesn't add a username to a hash line, but it append the converted hashes to an existing file.
If that is damaged or not a hash file, hashcat will show an token length error

Please comment your hashcat command line
Please also add your cap file and the converted hcx.22000 file

If you don't want to comment the cap and the hc22000 file, you can send them via mail to me. Just send an email notification via hashcat forum to which I can respond.

Do not clean your dump files!


RE: hcxpcapngtool -> hashcat -m 22000 -> Token lenght exxeption - ZerBea - 11-29-2022

Please also verify the hc22000 file, Does it look like the example hashes from here:
https://hashcat.net/wiki/doku.php?id=example_hashes

PMKID:
Code:
WPA*01*4d4fe7aac3a2cecab195321ceb99a7d0*fc690c158264*f4747f87f9f4*686173686361742d6573736964***
or EAPOL
Code:
WPA*02*024022795224bffca545276c3762686f*6466b38ec3fc*225edc49b7aa*54502d4c494e4b5f484153484341545f54455354*10e3be3b005a629e89de088d6a2fdc489db83ad4764f2d186b9cde15446e972e*0103007502010a0000000000000000000148ce2ccba9c1fda130ff2fbbfb4fd3b063d1a93920b0f7df54a5cbf787b16171000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001630140100000fac040100000fac040100000fac028000*a2