hashcat Forum
Dynamic rules syntax for append characters in certain position - 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: Dynamic rules syntax for append characters in certain position (/thread-13363.html)



Dynamic rules syntax for append characters in certain position - gege - 09-03-2025

I want know is there any dynamic syntax for rule-based attack file to append in certain position.
For example, append character before the last character of a word like:
from password to passworRd.
from superman to supermaAn
I know I could use iNX syntax but it is not effective since the length of a word in a wordlist is different each others.
So, is there any kind of syntax for that matter?


RE: Dynamic rules syntax for append characters in certain position - atom - 09-03-2025

You can use the } rule , then $ rule, then { rule

Code:
$ echo password | ./hashcat -j '}$R{' --stdout
passworRd