hashcat Forum
Toogle case generator problem - 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: Toogle case generator problem (/thread-8287.html)



Toogle case generator problem - Turysta - 04-05-2019

This generator is working for 14 characters long
https://github.com/DidierStevens/DidierStevensSuite/blob/master/generate-hashcat-toggle-rules.py
https://blog.didierstevens.com/2016/07/16/tool-to-generate-hashcat-toggle-rules/

But I need to generate for 20 characters.
When I run for 20 character hashcat is skipping:

"Skipping invalid or unsupported rule in file 20updown.rule on line 17: T10"
"Skipping invalid or unsupported rule in file 20updown.rule on line 1048575: T0T1T2T3T4T5T6T7T8T9TATBTCTDTETFT10T11T12T13"


RE: Toogle case generator problem - undeath - 04-05-2019

toggle rules only work for the first 16 characters


RE: Toogle case generator problem - Turysta - 04-05-2019

Is any way to do it?


RE: Toogle case generator problem - philsmd - 04-05-2019

you can toogle all 10 (0-9) + 26 (A-Z) = 36 positions (from index 0 to 35) with the following rules

T0 T1 T2 T3 T4 T5 T6 T7 T8 T9 TA TB TC TD TE TF TG TH TI TJ TK TL TM TN TO TP TQ TR TS TT TU
TV TW TX TY TZ

note: after TF, you just continue with the alphabet with TG, TH, TI... TZ as mentioned here: https://hashcat.net/wiki/?id=rule_based_attack

but there is indeed one limitation:
https://hashcat.net/wiki/?id=rule_based_attack#limitations
this says, that you can't use all 36 toggles within the same "rule line" because only 31 rule functions (single rules) are supported per line within your rule file... similar to the example from above "T0" up to "TU" are 31 rule functions ... and you can't use more than 31 rules within the same line. You can have more rules within the rule file of course, but on each rule line the max is 31 single rules

following this pattern, for toggling the first 20 positions it's of course this rule line:
Code:
T0 T1 T2 T3 T4 T5 T6 T7 T8 T9 TA TB TC TD TE TF TG TH TI TJ



RE: Toogle case generator problem - Turysta - 04-05-2019

Thank You Smile