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.
Knowledge Check
-m control?-o lowercase conversion?Frequently Asked Questions
Continue Learning
How to Use Burp Suite: Beginner's Guide to Web App Security Testing in Kali Linux
Learn how to use Burp Suite to intercept requests, test with Repeater and Intruder, follow a worked DVWA example, and start free with Community Edition.
Tools · BeginnerMedusa Guide: Parallel Network Login Auditor
Learn Medusa for parallel network authentication testing with support for multiple protocols, modular design, and practical security assessment examples.
Tools · BeginnerNmap Beginner Tutorial: Mastering Network Scanning
Learn Nmap from scratch covering host discovery, port scanning, service detection, NSE scripts, and practical examples.
Tools · IntermediateNuclei Guide: Automated Vulnerability Scanning
Learn Nuclei for fast template-based vulnerability scanning with customizable templates, workflow automation, and integration into CI/CD pipelines.
Related Security Tools
CeWL
CeWL is a custom word list generator that spiders a target URL and creates a wordlist from the content. Great for targeted password attacks.
Password AttacksCrunch
Crunch is a wordlist generator where you can specify a standard character set or a custom one. It can generate all possible combinations.
Password AttacksJohn the Ripper
John the Ripper is a free and open-source password security auditing and password recovery tool. It can crack various password hash types offline and is highly customizable with different attack modes and mangling rules.
Password AttacksCUPP
CUPP (Common User Passwords Profiler) creates custom wordlists based on target personal information like names, birthdays, nicknames, pets, and keywords.