Mask starting with a dash
#1
Looks like hashcat has a problem with masks that start with a dash:
Code:
e:\hashcat-4.1.0>hashcat64 -O -w 3 -m 0 -a 6 --gpu-temp-disable 66343_left.txt files -?d
hashcat64: unknown option -- ?
Invalid argument specified.

e:\hashcat-4.1.0>hashcat64 -O -w 3 -m 0 -a 6 --gpu-temp-disable 66343_left.txt files "-?d"
hashcat64: unknown option -- ?
Invalid argument specified.


e:\hashcat-4.1.0>hashcat64 -O -w 3 -m 0 -a 6 --gpu-temp-disable 66343_left.txt files "\-?d"

hashcat (v4.1.0) starting...
<snip>
Candidates.#1....: angel\-1 -> zzzoe\-7

e:\hashcat-4.1.0>hashcat64 -O -w 3 -m 0 -a 6 --gpu-temp-disable 66343_left.txt files $HEX[2D]?d
hashcat (v4.1.0) starting...
<snip>
Candidates.#1....: angel$HEX[2D]1 -> zzzoe$HEX[2D]7

e:\hashcat-4.1.0>hashcat64 -O -w 3 -m 0 -a 6 --gpu-temp-disable 66343_left.txt files ?-?d

hashcat (v4.1.0) starting...
<snip>
Syntax error: ?-?d

e:\hashcat-4.1.0>hashcat64 -O -w 3 -m 0 -a 6 --gpu-temp-disable 66343_left.txt files '-?d'

hashcat (v4.1.0) starting...
Candidates.#1....: angel'-1' -> zzzoe'-7'

Finally got it to work:
Code:
e:\hashcat-4.1.0>hashcat64 -O -w 3 -m 0 -a 6 --gpu-temp-disable -1 - 66343_left.txt files ?1?d
<snip>
Candidates.#1....: angel-1 -> zzzoe-3

But that's not an immediately obvious solution, and the documentation does not mention any need for special treatment of a dash.


Messages In This Thread
Mask starting with a dash - by mrfancypants - 05-08-2018, 09:39 AM
RE: Mask starting with a dash - by philsmd - 05-08-2018, 10:37 AM
RE: Mask starting with a dash - by mrfancypants - 05-08-2018, 07:03 PM
RE: Mask starting with a dash - by philsmd - 05-08-2018, 07:17 PM
RE: Mask starting with a dash - by mrfancypants - 05-08-2018, 07:59 PM