generating wordlist thru rule-based attack
#1
hi,

i am trying to build a word list as under :

mywords.rule

$abcd
$efgh
$ijklm

mynumbers.rule

$1111
$2222
$3333

... to generate wordslist as :
abcd1111
abcd2222
abcd3333
efgh1111
efgh2222
efgh3333
....
....

$ hashcat --stdout -r mywords.rule -r mynumbers.rule > wordlist

the command gives me an error : "no valid rules left" . please help me in to generate wordlist as above. can another .rule file with special character be added ? suggest the command specifically ...thanks
Reply
#2
(07-29-2022, 02:38 PM)hetcat Wrote: hi,
i am trying to build a word list as under :
mywords.rule
$abcd

this should be $a$b$c$d as $ works on single chars not on whole strings, same with $1$1$1$1

but rules are modifiying given passes so you have to give at least one "empty" pw as input
front.txt
Code:
$a$b$c
back.txt
Code:
$1$1$1
empty.txt has just a "new line" (enter on first line) inside so
the -a0 is needed
.\hashcat.exe --stdout -a0 -r .\front.txt -r .\back.txt .\empty.txt
results in output
abc111

but as i mentioned in your other thread, you should give hahscat utils combinator a chance which will generate all combinations from 2 gvien textfiles
Reply