Mask starting with a dash
#4
The general rule for any command line tool using the (defacto) standard way of using arguments (getopts) is that the user needs to specify when the list of arguments is over and the remaining parameters (non-short or non-long args) start, e.g:
Code:
hashcat --stdout -a 3 -- -?d

The -- tells the command line parser that there are no more short or long arguments within the command line and the remaining arguments should be used AS-IS (without interpreting the dashes etc).

BTW: the --hex-charset approach should also work with
Code:
hashcat --stdout --hex-charset -a 3 2d?d


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