CeWL Guide: Custom Wordlist Generator
Learn CeWL for generating custom wordlists by spidering websites, creating targeted password lists for penetration testing and security assessments.
Why You Need CeWL
You need password wordlists tailored to a specific target organization — CeWL spiders the target's website and generates custom wordlists from the words it finds. Targeted wordlists are far more effective than generic lists for password guessing and dictionary attacks.
Prerequisites
How CeWL Works
Installation
sudo apt install cewl
Basic Usage
cewl http://target.com -w wordlist.txt
Key Options
| Option | Description |
|--------|-------------|
| -w FILE | Output file |
| -d DEPTH | Spider depth |
| -m MIN | Min word length |
| -x MAX | Max word length |
| -c | Include word counts |
| -e | Include emails |
| -o | Convert to lowercase |
Practical Examples
cewl http://target.com -d 3 -m 5 -w custom-wordlist.txt
cewl http://target.com -e -w wordlist-with-emails.txt
cewl http://target.com -m 6 -x 12 -w targeted-wordlist.txt
Using with Other Tools
cewl http://target.com -w cewl-wordlist.txt
hydra -l admin -P cewl-wordlist.txt ssh://192.168.1.100
Common Mistakes
Setting depth too high. Not setting minimum word length. Forgetting lowercase conversion.
Best Practices
Tailor wordlists to targets. Combine with common wordlists. Set -m 6 for passwords.
Related Tools
Related Articles
Summary
CeWL creates targeted wordlists by spidering websites. Custom wordlists are more effective than generic ones for password attacks.