hashcat Forum
special char 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: special char in mask (/thread-6618.html)



special char in mask - uczi - 06-04-2017

Hello,

how can I input the char ´ into an mask attack?
When I use this command:
hashcat64.exe -a3 -m 6211 ..\dd\64.bin -1 ?l?u?d ?1?1´
it transforms to a wrong char:
Guess.Mask.......: ?1?1'┤' [5]

TIA


RE: special char in mask - royce - 06-04-2017

On the (Windows?) command line, you'll need to handle differently any strings that contain an apostrophe (').

One of these may work:

1. Double quotes around the entire mask:

Code:
hashcat64.exe -a3 -m 6211 ..\dd\64.bin -1 ?l?u?d "?1?1´"

2. Escape the apostrophe with a caret (^):

Code:
hashcat64.exe -a3 -m 6211 ..\dd\64.bin -1 ?l?u?d ?1?1^´


Reference:

https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/everyone-quotes-command-line-arguments-the-wrong-way/