S
S
sHARek2019-10-04 09:08:49
brute force
sHARek, 2019-10-04 09:08:49

How to make a mask for selection in Hashcat?

Good morning. How to make a mask like "Uppercase, lowercase and numbers only"?
It needs to be possible with increment , i.e. i am using now

hashcat64 -m 0 -a 3 -i --increment-min=1 --increment-max=1 <HASH> ?a
hashcat64 -m 0 -a 3 -i --increment-min=2 --increment-max=2 <HASH> ?a?a
hashcat64 -m 0 -a 3 -i --increment-min=3 --increment-max=3 <HASH> ?a?a?a

According to the idea I can
hashcat64 -m 0 -a 3 -i --increment-min=1 --increment-max=1 <HASH> ?u?l?d
hashcat64 -m 0 -a 3 -i --increment-min=2 --increment-max=2 <HASH> ?u?l?d
hashcat64 -m 0 -a 3 -i --increment-min=3 --increment-max=3 <HASH> ?u?l?d

But when --increment-min= 4 it doesn't work anymore.
From Wiki Hashcat (which can be used)
?l = abcdefghijklmnopqrstuvwxyz
?u = ABCDEFGHIJKLMNOPQRSTUVWXYZ
?d = 0123456789
?h = 0123456789abcdef
?H = 0123456789ABCDEF
?s = «space»!"#$%&'()*+,-./:;<=>[email protected][\]^_`{|}~
?a = ?l?u?d?s
?b = 0x00 - 0xff

Something in the morning does not work head ...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sHARek, 2019-10-04
@sHARek

Understood.
Maybe it will come in handy for someone who is not as smart as me!

hashcat64 -m 0 -a 3 -i --increment-min=1 --increment-max=1 <HASH> -1 ?u?l?d ?1
hashcat64 -m 0 -a 3 -i --increment-min=2 --increment-max=2 <HASH> -1 ?u?l?d ?1?1
hashcat64 -m 0 -a 3 -i --increment-min=3 --increment-max=3 <HASH> -1 ?u?l?d ?1?1?1
hashcat64 -m 0 -a 3 -i --increment-min=4 --increment-max=4 <HASH> -1 ?u?l?d ?1?1?1?1

etc.

I
ILYA_Zzz, 2020-05-12
@ILYA_Zzz

I also broke my head, but I did not find a solution.
How to iterate from 8 to 12 digits?
All attempts try only the 8-digit password:
hashcat64 -m 2500 -a 3 -1 ?d -i --increment-min=8 --increment-max=12 %hash% ?1?1?1?1?1? 1?1?1?1?1?1?1
hashcat64 -m 2500 -a 3 -i --increment-min=8 --increment-max=12 %hash% ?d?d?d?d?d? d?d?d?d?d?d?d
... what does --increment-min/max give you, I still don't understand :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question