Generate password condidates from password list
#1
I searched but did not find hashcat rules that would generate passwords from password list. All rules work with word list, but i need password list. For example i have password list:

d0gmatized$678
d0gcatcher#1422
18.BankLogin!3

And i need the rule or some tool that turn this passwords to something like this:
d0gmatized$678
d0gmatized$1422
dogmatized#1422
Dogmatized$1422
18.dogmatized$1422
...
d0gcatcher#1422
d0gcatcher$1422
d0gcatcher!1422
d0gcatcher#1422
18.d0gcatcher#1422
Reply
#2
(04-04-2024, 08:23 AM)bambinorest Wrote: I searched but did not find hashcat rules that would generate passwords from password list. All rules work with word list, but i need password list. For example i have password list:

d0gmatized$678
d0gcatcher#1422
18.BankLogin!3

And i need the rule or some tool that turn this passwords to something like this:
d0gmatized$678
d0gmatized$1422
dogmatized#1422
Dogmatized$1422
18.dogmatized$1422
...
d0gcatcher#1422
d0gcatcher$1422
d0gcatcher!1422
d0gcatcher#1422
18.d0gcatcher#1422

Wordlist = password list.
But there are no rules that can take part of a word from one line and add it into a word on another line, which seems to be what you want. In that case, have a look at princeprocessor, as that can disassemble the words and mix them together in a similar fashion.
Reply
#3
(04-05-2024, 12:00 AM)b8vr Wrote:
(04-04-2024, 08:23 AM)bambinorest Wrote: I searched but did not find hashcat rules that would generate passwords from password list. All rules work with word list, but i need password list. For example i have password list:

d0gmatized$678
d0gcatcher#1422
18.BankLogin!3

And i need the rule or some tool that turn this passwords to something like this:
d0gmatized$678
d0gmatized$1422
dogmatized#1422
Dogmatized$1422
18.dogmatized$1422
...
d0gcatcher#1422
d0gcatcher$1422
d0gcatcher!1422
d0gcatcher#1422
18.d0gcatcher#1422

Wordlist = password list.
But there are no rules that can take part of a word from one line and add it into a word on another line, which seems to be what you want. In that case, have a look at princeprocessor, as that can disassemble the words and mix them together in a similar fashion.
I read about princeprocessor but I didn’t understand and I’m not entirely sure that this can be done with it. I think i need to use some third parties tools, but i didn't find one.
Reply
#4
b8vr is right, i think princeprocessor is the best approach on this

open a texteditor and add your password chunks

like 
Code:
.
18
dog
d0g
catcher
matized
$1422
!1422
#1422
 and so on.

depending on your input count (if relativly low) you can use princeprocessor to generate a list which you can then use to feed hashcat

pp64 < pw-chunks.txt > password-list.txt

or, if your input count is relativly high you feed the output directly to hashcat like that (rules are optional)

pp64 < wordlist.dict | hashcat [options] target.hash -r prince_optimized.rule

be aware of prineprocessors default maxlength of 16 for generating passwordcandidates, see pp64 --help for relevant options
Reply