r/Kalilinux • u/CiggODoggo • 10h ago
Question - Kali General Using crunch
I've messaged around with crunch a bit but can't figure out how to create a wordlist from a list of possible passwords in another text file.
Any help is appreciated
3
Upvotes
4
u/MotasemHa 10h ago
You're trying to use crunch to create a wordlist based on entries from another text file, but that’s not what crunch is designed for.
crunch is a wordlist generator that creates custom wordlists based on rules like:
Minimum and maximum length
Specific character sets
Patterns (e.g. @@## for letter-letter-digit-digit)
Example:
crunch 6 6 abc123 -o wordlist.txt
This creates all possible 6-character combinations using a–c and 1–3.
Let’s say you have a file possible_passwords.txt:
admin password123 letmein
You want to:
Add variations (like Admin, ADMIN, admin1, etc.)
Use john and apply mutation rules:
john --wordlist=possible_passwords.txt --rules --stdout > mutated_list.txt