Token length exception when using a mask
#1
Question 
I'm trying to crack an NT hash and end up getting the "Token length exception | No hashes loaded" error, but only when I try to use a mask.  My command line options look to me like they match the format of examples I've seen.  It looks like it might be thinking the mask is supposed to be the hash.  What am I doing wrong here?

This version runs with no errors:
Code:
hashcat.exe -m 1000 -a 3 -o cracked.txt hash.txt


These versions, or any with any custom charset and mask applied returns the error:
Code:
hashcat.exe -m 1000 -a 3 -1 ?l?u?d?s ?u?1?1?1?1?1?1 -o cracked.txt hash.txt
Code:
hashcat.exe -m 1000 -a 3 -1 ?l012345!_@ -2 ?l?u012345!_@ ?u?1?1?2?2?1?2?2 -o cracked.txt hash.txt
Code:
hashcat.exe -m 1000 -a 3 -1 ?l012345!_@ -2 ?l?u012345!_@ -3 ?l?u!_@ -4 ?l!_@ ?u?1?1?2?2?1?2?2?3?2?3?2?4 -o cracked.txt hash.txt

Error image:
[Image: 14fzFqA.jpg]
Reply
#2
Figured out that I needed to move the mask to the end of the line like this:

Code:
hashcat.exe -m 1000 -a 3 -1 ?l012345!_@ -2 ?l?u012345!_@ -3 ?l?u!_@ -4 ?l!_@ -o cracked.txt hash.txt ?u?1?1?2?2?1?2?2?3?2?3?2?4

But now I'm getting this error:
Quote:Integer overflow detected in keyspace of mask: ?u?1?1?2?2?1?2?2?3?2?3?2?4

I'm guessing that means it's not feasible.
Reply
#3
(05-28-2022, 05:37 PM)voidseer Wrote: Figured out that I needed to move the mask to the end of the line like this:

Code:
hashcat.exe -m 1000 -a 3 -1 ?l012345!_@ -2 ?l?u012345!_@ -3 ?l?u!_@ -4 ?l!_@ -o cracked.txt hash.txt ?u?1?1?2?2?1?2?2?3?2?3?2?4

But now I'm getting this error:
Quote:Integer overflow detected in keyspace of mask: ?u?1?1?2?2?1?2?2?3?2?3?2?4

I'm guessing that means it's not feasible.

every mask longer than 10 is more or less useless for bruteforcing
Reply