r/HowToHack • • 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

7 comments sorted by

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...

0

u/[deleted] Jan 19 '26

[deleted] — view deleted comment

1

u/AutoModerator Jan 19 '26

This link has not been approved, please read the descriptions for Rule 1 and 5 before trying again. Please wait for a moderator to review and approve this post.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.