Replace rule - but not all at once
#4
multiple substitutions should be no problem because currently a single rule could consist of up to 31 rule functions: https://hashcat.net/wiki/doku.php?id=rul...imitations

The only problem could be if you need to use very distinct rules with positional rule functions. btw: -j and -r can be combined too (therefore you could apply the positional rules with -j/-k and add some further rules with a set or rule files (-r).

Alternatively, you could use "-a 0 --stdout -j ..." to mangle a small dict with all the different rules you need (even with several -j runs redirected into one file, and ideally uniqued afterwards) and use this pre-generated dict file as input for hashcat. Of course it depends a lot on how large the original dict is and how feasible it is to use the disk etc. You could limit the -j to just positional rules and use -r later on for all other rules. You could also use pipes instead, but that has also some disadvantages.

As you can see, there are many possibilities and it's quite easy to work with this limitation of just being able to use -j/-k.




btw if you only need to toggle, like in your example (no complicated substitutions with multiple characters as a replacement for 1 single character etc), you could just use a set of toggle rules:
Code:
T0
T1
T2
T3
T4
T5
T6
T7
T0 T1
T0 T2
T0 T3
T0 T4
# ...
T1 T2
T1 T3
T1 T4
# ...

etc


Messages In This Thread
Replace rule - but not all at once - by psit - 08-28-2018, 04:53 PM
RE: Replace rule - but not all at once - by psit - 08-28-2018, 06:53 PM
RE: Replace rule - but not all at once - by philsmd - 08-29-2018, 09:55 AM
RE: Replace rule - but not all at once - by Nay - 08-29-2018, 04:08 PM