hashcat Forum

Full Version: Space character with custom charset
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
You just need to quote correctly then it will use space, too
how to escape ',' and ' ' in a custom charset inside a maskfile?

e.g.

test.hcmask
==============================
<space><comma>,abcdef,?1?1?1?2?2?2
With \
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?
Try with single or double quotes
(04-19-2017, 12:06 PM)d2 Wrote: [ -> ]Try with single or double quotes

Thanks, it worked when I typed it like this:

Code:
-1"?d\ _,.-/:"

Don't know why I haven't thought of that earlier Smile