Combinator Attack with Stacked Rules
#1
Hi everyone,

I am trying to utilize a combinator attack with a “combinator-style ruleset”. Rather than running a few nested bash loops that utilizes left and right rules with a combinator attack, Atom has suggested that I use the stacked rules feature and I was wondering if someone could help me figure out how to utilize this method.

Example words.dict:

Code:
cat
dog
horse


Example rules.rule:

Code:
u
u $1
c $1
c $2


Example password construction:

Code:
u cat + u cat = CATCAT
u cat + u$1 cat = CATCAT1
u cat + c$1 cat = CATCat1
u cat + c$2 cat = CATCat2
u cat + u dog = CATDOG
u cat + u$1 dog = CATDOG1
u cat + c$1 dog = CATDog1
u cat + c$2 dog = CATDog2

c$2 horse + c$2 dog = Horse2Dog2
c$2 horse  + u horse = Horse2HORSE
c$2 horse  + u$1 horse = Horse2HORSE1
c$2 horse  + c$1 horse = Horse2Horse1
c$2 horse  + c$2 horse = Horse2Horse2

I was thinking about this command, but I’m not sure if it’s correct:
Code:
./hashcat -m 0 -a 1 hash.txt words.dict words.dict -r rules.rule -r rules.rule

How do I do this combinator with stacked rules?
Thank you in advance for you help!


Messages In This Thread
Combinator Attack with Stacked Rules - by princey - 07-21-2016, 05:13 PM