Posts: 100
Threads: 34
Joined: Aug 2014
Is there a way to include the space character with a custom character set?
Perhaps something like --custom-charset1= 012345689
The above would be a space followed by digits, 1-9.
With all of the attempts that I have tried on the command line, I can't seem to include a space character.
Also, this doesn't seem to be addressed in the mask attack section of the wiki.
https://hashcat.net/wiki/doku.php?id=mask_attack
Posts: 259
Threads: 13
Joined: Jun 2016
Posts: 5,185
Threads: 230
Joined: Apr 2010
You just need to quote correctly then it will use space, too
Posts: 87
Threads: 4
Joined: Dec 2015
10-10-2016, 10:51 PM
(This post was last modified: 10-10-2016, 10:51 PM by jodler303.)
how to escape ',' and ' ' in a custom charset inside a maskfile?
e.g.
test.hcmask
==============================
<space><comma>,abcdef,?1?1?1?2?2?2
Posts: 5,185
Threads: 230
Joined: Apr 2010
Posts: 14
Threads: 0
Joined: Apr 2017
04-19-2017, 11:50 AM
(This post was last modified: 04-19-2017, 11:50 AM by vagantis.)
Code:
hashcat64.exe -a 3 -m 10500 -w 4 -D 2 -1 ?d\ _,.-/: -o found_pdf.txt hash_pdf.txt ?1?1?1?1?1?1?1?1?1?1?1?1?1 --increment
Somehow, when I type this command, I get the following exception.
Code:
Hash '_,.-/:': Line-length exception
No hashes loaded
It looks like proceeding space with \ doesn't work in arg list. What am I doing wrong?
Posts: 30
Threads: 4
Joined: Jan 2011
Try with single or double quotes
Posts: 14
Threads: 0
Joined: Apr 2017
(04-19-2017, 12:06 PM)d2 Wrote: Try with single or double quotes
Thanks, it worked when I typed it like this:
Don't know why I haven't thought of that earlier