Please note, this is a STATIC archive of website hashcat.net from October 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: Rule help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was looking into writing rules, and was interested in the Memory rule..

Lets say i have the word  "password" in my dictionary.

i was trying to write a simple rule that would add 123 to the end and then place the original word after that, resulting in "password123password"

i thought i got it, and would write the rule $1$2$3M4

but that gave me an error:


Code:
Cannot convert rule for use on OpenCL device in file myfirst_rules on line 1

so i backed up and went with the example shown here: https://hashcat.net/wiki/doku.php?id=rule_based_attack

and simply wrote the rule :

uMl4


same error : Cannot convert rule for use on OpenCL device in file myfirst_rules on line 1: uMl4
All rules marked with "+" in the notes do not work in newer versions. They only work in the legacy cpu version.
Ok so is there no way to write a rule in the newer version that would do the same?
something like:
Code:
$1 $2 $3 d ] ] ]
should work as an equivalent rule for M $1 $2 $3 4
(yeah, it's not always perfectly the same, depending on how close you are to the maximum password length, like duplication of a very long word, 31 - 3 won't fit)

That's the real advantage of rules, they are very flexible if you understand them.
I'm not understanding that.

Another one I'm trying to figure out is a way to run all permutations of each letter in a given word's capitalization

So cat woul test CAT, CaT, cAt.. etc
togglesX.rule