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/


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

or you could just create an .hcchr file and use that instead of the character set along with your mask.  I always have trouble with special characters so use an .hcchr file and problems disappear.  See the wiki faq.  It has what you need to know to create one.  Or just do a search within the forum.  i.e.  -1 myhccrrfile.hcchr ?1?1?1?1...........  The hcchr file is just a text file.  Should look something like 
[ 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' ]    of course the brackets and space are not included unless you want to check for those also.  Hope that helps.
 Just copy and paste into a text file and rename it to myhcchr.hcchr or whatever you want for the file name.  You must use the file extention of .hcchr, however.



(06-04-2017, 01:34 AM)uczi Wrote: 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