Quantcast
Channel: hashcat Forum - All Forums
Viewing all articles
Browse latest Browse all 7673

Escaping '?' in mask

$
0
0
I might have missed it in the doc but I was wondering what's the correct way to escape '?' in a mask.

If I do something like: 
cudaHashcat64.bin -a 3 -m 0 -1 ? myhash ?1 
or cudaHashcat64.bin -a 3 -m 0 -1 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789? myhash ?1 

I don't get an error but it doesn't crack the hash, which for my testing was '?' and '??'

I tried using a hcmask like following:
hcmask = abcdefghijklmnopqrstuvwxyz0123456789?!@#$%^&*()_+-=,?1

cudaHashcat64.bin -a 3 -m 0 myhash myhcmask.hcmask

and I get:

Syntax error: abcdefghijklmnopqrstuvwxyz0123456789?!@#$%^&*()_+-=

but if I put a double ? it works it cracks the hash.
hcmask = abcdefghijklmnopqrstuvwxyz0123456789??!@#$%^&*()_+-=,?1

cudaHashcat64.bin -a 3 -m 0 myhash myhcmask.hcmask 


or in command line this works

cudaHashcat64.bin -a 3 -m 0 -1 ?? myhash ?1

Using a double ?? doesn't seem like a standard way of escaping I was expecting \? like for , or #

Viewing all articles
Browse latest Browse all 7673

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>