04-12-2022, 10:58 AM
With much trial and error I have been able to achieve what
was needed for the target. word123word.
Thanks goes to moryana for pointing me in the right direction.
Finding of note is that the replacement function is only for a single character.
You cannot replace one character with more than one.
The rule that I had to use in the maskprocessor is: mp64 -o replacecarret.rule 's^?ds&?ds%?d'
I had to add 3 different placeholders for each digit I wanted to add as the replace function will replace ALL instances of the character. Here is the full command line used.
savaho@Atlantis:~/hash$ /usr/bin/hashcat --stdout -a 1 wordlist2.txt wordlist2.txt -j '$^$&$%' | hashcat -m 0 -a 0 -r replacecarret.rule testhash.tst
was needed for the target. word123word.
Thanks goes to moryana for pointing me in the right direction.
Finding of note is that the replacement function is only for a single character.
You cannot replace one character with more than one.
The rule that I had to use in the maskprocessor is: mp64 -o replacecarret.rule 's^?ds&?ds%?d'
I had to add 3 different placeholders for each digit I wanted to add as the replace function will replace ALL instances of the character. Here is the full command line used.
savaho@Atlantis:~/hash$ /usr/bin/hashcat --stdout -a 1 wordlist2.txt wordlist2.txt -j '$^$&$%' | hashcat -m 0 -a 0 -r replacecarret.rule testhash.tst