hashcat Forum
Custom chat set - 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: Custom chat set (/thread-9410.html)



Custom chat set - Vido - 07-24-2020

Hi guys,
Im having trouble using custom char set i wont to use "KSTzpB%qJZe402c38d9bE65Wj$CMm@&G7NIgrwLvfF^PRnxtHiVhQl3X" that chars and I wont it to be seven keys long password. I tried -l KSTzpB%qJZe402c38d9bE65Wj$CMm@&G7NIgrwLvfF^PRnxtHiVhQl3X but Im getting an error

Code:
../hashcat2/./hashcat2 -m 500 -a 3 -o krekovan -O -w 3 hash.txt -l "KSTzpB%qJZe402c38d9bE65Wj$CMm@&G7NIgrwLvfF^PRnxtHiVhQl3X" ?a?a?a?a?a?a?a

The specified parameter cannot use 'KSTzpB%qJZe402c38d9bE65Wj@&G7NIgrwLvfF^PRnxtHiVhQl3X' as a value - must be a number.

Yes I readed wiki https://hashcat.net/wiki/doku.php?id=mask_attack and this theard https://hashcat.net/forum/thread-5935.html and many more but could not find soulution.
Also should I use ?a?a?a?a?a?a?a or ?l?l?l?l?l?l?l to define that I want password to be 7 character long using custom charset

Edit: I tied putting my char set in to file /charsets/my.charset and use it like so -1 charsets/my.charset but hashcat does not use it it use lower case letters if I put ?l and special chars when I put ?a how can I force hashcat to use my charset length of 7 chars from list


RE: Custom chat set - philsmd - 07-24-2020

Code:
hashcat -m 500 -a 3 -w 3 -O --custom-charset2 my.hcchr -o krekovan hash.txt ?2?2?2?2?2?2?2


the file my.hcchr only consists of one line (no BOM ! see https://en.wikipedia.org/wiki/Byte_order_mark):
Code:
KSTzpB%qJZe402c38d9bE65Wj$CMm@&G7NIgrwLvfF^PRnxtHiVhQlX

Note: you character set had "3" listed twice, I removed one "3" because duplicates are not needed


RE: Custom chat set - Vido - 07-24-2020

Great @philsmd one question thou should I use charset/my.charset instead of just my.hcchr ?


RE: Custom chat set - philsmd - 07-24-2020

The file extension doesn't actually matter, but I agree it's good to stick to some convention/standard.

It would probably make sense to rename our .charset files into .hcchr files, because of the "standard" mentioned also here:
https://hashcat.net/wiki/doku.php?id=mask_attack#hashcat_charset_files


RE: Custom chat set - Vido - 07-24-2020

Ok great thank you @philsmd