TitleCase rule with non-space chars - 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: TitleCase rule with non-space chars (/thread-6489.html) |
TitleCase rule with non-space chars - cipri_tom - 04-18-2017 Hi, I need a rule which functions like Code: E Code: my-strong-passwd -> My-Strong-Passwd I have seen in some forums of JtR that they already implemented it. Is there any way to easily mimick it in hashcat ? Many thanks! RE: TitleCase rule with non-space chars - royce - 04-18-2017 You can chain a couple of rules together: s- E s - That's - replace all dashes with spaces - title case - replace all spaces with dashes again It would be cool if E could take an argument of what character to treat as the separator. Might be tricky to implement a rule that both does and does not accept arguments, though. Using "e[char]" like JtR did could be a useful add. RE: TitleCase rule with non-space chars - cipri_tom - 04-18-2017 (04-18-2017, 08:07 PM)royce Wrote: You can chain a couple of rules together: That's awesome ! I was only thinking in higher level, because I actually want it with digits. so my123password -> My123Password. I didn't realise that it suffices : Code: s3 E s 3 One surprise, for me, was that words generated with rules are not fed back into the generator. Is it because there are rules which are not idempotent (such as insertion) ? I found it trickier to write, but, as I said, I've discovered hashcat today :"> ^^ RE: TitleCase rule with non-space chars - royce - 04-18-2017 Ah, I see. Interesting approach - could be handy. If your target character already exists in the string, you'll get some inexact results, but that might be acceptable. Actual discovered plains can be fed back into the current attack with --loopback. Candidates are not - that could escalate quickly. RE: TitleCase rule with non-space chars - cipri_tom - 04-19-2017 By target character, I guess you mean Space, since that should be the target for `E` (Title) to work. I see what you mean. Sucks. Do you think we should open a issue/feature request for the `e?C` rule, like in JtR ? Hmm, I think I meant candidates, yes. I see how that can escalate. I'm not sure I understand what --loopback does. What is the 'induct' directory ? Is there some more complete documentation other than the wiki ? Thank you ! RE: TitleCase rule with non-space chars - royce - 04-19-2017 Yeah, requesting an "e" rule seems useful. I've requested it (#1231) After the current run finishes, --loopback takes the actual plains that you found, and executes that same run against anything found. In other words, new founds are appended to the implicit word/guess list. |