hashcat Forum
Problem with special characters in mask - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Problem with special characters in mask (/thread-11279.html)



Problem with special characters in mask - PaulEhrlich2223 - 01-28-2023

Hi,

I want to use costom charsets to crack a password of mine. In this costom charset, I use special characters and that seems to be the problem. 
After the following input,
C:\....\hashcat-6.2.6>hashcat.exe -a 3 -w 3 -m13721 ...\cont_hash.tc -1 1234567890!"§$%&/()=?#@ -2 wq asdfg?1?1?2
 I recieve this output:
If you specify a custom charset, you must also specify a mask.

The problem is the special character part of this: -1 1234567890!"§$%&/()=?#@
If I remove the, the programm runs. Is there a way to specially mark them like ? with "??"  ?
Using -1 ?s?d isnt an option due to runtime?

Thanks for your help.
Paul

Ps: Directorys changed for post, their not the problem


RE: Problem with special characters in mask - Banaanhangwagen - 01-29-2023

Put your custom mask between double quotes.
As for "?", you need to double it.
As for double-quote-character itself, you need to put it at the end.

Finally, remark that the § is not an ASCII character.

Code:
-1 "1234567890!§$%&/()=??#@""