r/HowToHack • u/Nyltje • Jan 19 '26
John the Ripper password cracker: password must contain string
I'm practicing with John the Ripper password cracker and right now I try to crack a password from a zipfile. I wonder if it's possible to add a rule saying: password must contain this string eg. "chiCKen" so that it will try all combinations but try the exact string "chiCKen" everywhere.
So that it will be like (where a = variable)
chiCKenaaaaaa
achiCKenaaaaa
aachiCKenaaaa
ect.
I tried searching the community resources, but I couldn't find it. If you know any other password cracker that can do this, that advise is also welcome.
Thank you
11
Upvotes
1
u/PRADA_G616 Jan 19 '26
Android compatible? Terminal?
1
u/ps-aux Actual Hacker Jan 20 '26
hashcat has this feature but jtr does not.. You will need to make word list based on this pattern and then load that list into jtr etc...
1
u/hardwear72 Jan 22 '26
Hashcat
0
u/[deleted] Jan 19 '26
[deleted] — view deleted comment