12-14-2022, 08:17 PM
first see https://hashcat.net/wiki/doku.php?id=rule_based_attack for rules
Append Character $X Append character X to end $1$2 p@ssW0rd p@ssW0rd12
so you need the $, now lets say we want to generate the rules for appending digits 0-9 that would be (windows)
this will generate all possibilities for append with just one digit, for checking the correctness of the command line, the output is not yet redirected to a file
redirect to a file like this
i used >> because this way you can append more rules without overwriting your old file
lets assume you want to add the rules for appending all possibilites 2 digits, its simple like that
this way you can generate rules sets very fast
Append Character $X Append character X to end $1$2 p@ssW0rd p@ssW0rd12
so you need the $, now lets say we want to generate the rules for appending digits 0-9 that would be (windows)
Code:
hashcat -a3 --stdout "$?d"
redirect to a file like this
Code:
hashcat -a3 --stdout "$?d" >> yourfile
lets assume you want to add the rules for appending all possibilites 2 digits, its simple like that
Code:
hashcat -a3 --stdout "$?d $?d" >> yourfile
this way you can generate rules sets very fast