{"tool":"cewl","name":"CeWL","description":"Spiders a website and builds a custom wordlist from the words it finds — great for targeted password guesses.","tags":["wordlists","spidering","OSINT"],"homepage":"https://github.com/digininja/CeWL","docs":"https://github.com/digininja/CeWL#usage","install":{"apt":"sudo apt install cewl","docker":"docker run -it --rm ghcr.io/digininja/cewl <url>"},"related":["crunch","rsmangler","hashcat"],"total_commands":60,"commands":[{"id":1,"category":"Basic Wordlist Generation","command":"cewl http://example.com","example":"cewl http://example.com","explanation":"Standard crawl of a URL to generate a wordlist printed to stdout."},{"id":2,"category":"Basic Wordlist Generation","command":"cewl http://example.com -w wordlist.txt","example":"cewl http://example.com -w wordlist.txt","explanation":"Crawls the target and saves the generated wordlist to a specific file."},{"id":3,"category":"Basic Wordlist Generation","command":"cewl http://example.com -v","example":"cewl http://example.com -v","explanation":"Runs the crawl in verbose mode to see processing details in real-time."},{"id":4,"category":"Depth Control","command":"cewl -d 0 http://example.com","example":"cewl -d 0 http://example.com","explanation":"Spiders only the specified page without following any links."},{"id":5,"category":"Depth Control","command":"cewl -d 2 http://example.com","example":"cewl -d 2 http://example.com","explanation":"Crawls the target URL to a depth of 2 links deep."},{"id":6,"category":"Depth Control","command":"cewl -d 5 http://example.com","example":"cewl -d 5 http://example.com","explanation":"Deep crawl up to 5 levels suitable for large corporate sites."},{"id":7,"category":"Word Length Filtering","command":"cewl -m 5 http://example.com","example":"cewl -m 5 http://example.com","explanation":"Extracts only words that are at least 5 characters long."},{"id":8,"category":"Word Length Filtering","command":"cewl -m 8 http://example.com","example":"cewl -m 8 http://example.com","explanation":"Extracts words with a minimum length of 8 chars for stronger password policies."},{"id":9,"category":"Word Length Filtering","command":"cewl -m 12 http://example.com","example":"cewl -m 12 http://example.com","explanation":"Targets passphrases by filtering for words 12 characters or longer."},{"id":10,"category":"Case Handling","command":"cewl --lowercase http://example.com","example":"cewl --lowercase http://example.com","explanation":"Normalizes all discovered words to lowercase format."},{"id":11,"category":"Case Handling","command":"cewl --lowercase -w lower.txt http://example.com","example":"cewl --lowercase -w lower.txt http://example.com","explanation":"Saves a lowercase-only wordlist to a file for case-insensitive attacks."},{"id":12,"category":"Character Handling","command":"cewl --with-numbers http://example.com","example":"cewl --with-numbers http://example.com","explanation":"Includes words containing numbers which are usually ignored by default."},{"id":13,"category":"Character Handling","command":"cewl --convert-umlauts http://example.com","example":"cewl --convert-umlauts http://example.com","explanation":"Converts German umlauts to standard ASCII characters."},{"id":14,"category":"Word Counting","command":"cewl -c http://example.com","example":"cewl -c http://example.com","explanation":"Displays the frequency count of each word found on the site."},{"id":15,"category":"Word Counting","command":"cewl -c -w counts.txt http://example.com","example":"cewl -c -w counts.txt http://example.com","explanation":"Writes the word frequency counts to a file for analysis."},{"id":16,"category":"Offsite Crawling","command":"cewl -o http://example.com","example":"cewl -o http://example.com","explanation":"Allows the spider to visit external sites linked from the target."},{"id":17,"category":"Offsite Crawling","command":"cewl -o -d 2 http://example.com","example":"cewl -o -d 2 http://example.com","explanation":"Crawls external links up to a depth of 2 for broader reconnaissance."},{"id":18,"category":"Authentication","command":"cewl --auth_type Basic --auth_user admin --auth_pass secret http://example.com/protected","example":"cewl --auth_type Basic --auth_user admin --auth_pass secret http://example.com/protected","explanation":"Crawls a page protected by HTTP Basic Authentication."},{"id":19,"category":"Authentication","command":"cewl --auth_type Digest --auth_user admin --auth_pass secret http://example.com/protected","example":"cewl --auth_type Digest --auth_user admin --auth_pass secret http://example.com/protected","explanation":"Crawls a page protected by HTTP Digest Authentication."},{"id":20,"category":"Proxy Configuration","command":"cewl --proxy_host 127.0.0.1 --proxy_port 8080 http://example.com","example":"cewl --proxy_host 127.0.0.1 --proxy_port 8080 http://example.com","explanation":"Routes traffic through a local proxy like Burp Suite or ZAP."},{"id":21,"category":"User Agent Customization","command":"cewl --ua \"Googlebot/2.1\" http://example.com","example":"cewl --ua \"Googlebot/2.1\" http://example.com","explanation":"Spoofs the User-Agent string to mimic a Google crawler."},{"id":22,"category":"User Agent Customization","command":"cewl --ua \"Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X)\" http://example.com","example":"cewl --ua \"Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X)\" http://example.com","explanation":"Spoofs a mobile device user agent to capture mobile-specific content."},{"id":23,"category":"Email Harvesting","command":"cewl -e http://example.com","example":"cewl -e http://example.com","explanation":"Extracts email addresses found within the page content."},{"id":24,"category":"Email Harvesting","command":"cewl -e --email_file emails.txt http://example.com","example":"cewl -e --email_file emails.txt http://example.com","explanation":"Extracts emails and saves them to a separate dedicated file."},{"id":25,"category":"Email Harvesting","command":"cewl -e -n http://example.com","example":"cewl -e -n http://example.com","explanation":"Collects emails but suppresses the generation of the wordlist."},{"id":26,"category":"Meta Data Extraction","command":"cewl -a http://example.com","example":"cewl -a http://example.com","explanation":"Extracts metadata from discovered files during the crawl."},{"id":27,"category":"Meta Data Extraction","command":"cewl -a --meta_file metadata.txt http://example.com","example":"cewl -a --meta_file metadata.txt http://example.com","explanation":"Writes extracted metadata information to a specific file."},{"id":28,"category":"Debug Mode","command":"cewl --debug http://example.com","example":"cewl --debug http://example.com","explanation":"Runs in debug mode providing extensive internal execution details."},{"id":29,"category":"Advanced Filtering","command":"cewl --no-words http://example.com","example":"cewl --no-words http://example.com","explanation":"Performs the crawl without outputting any words useful for dry runs."},{"id":30,"category":"N-Grams Generation","command":"cewl -g 2 http://example.com","example":"cewl -g 2 http://example.com","explanation":"Generates 2-word phrases (bigrams) instead of single words."},{"id":31,"category":"N-Grams Generation","command":"cewl -g 3 http://example.com","example":"cewl -g 3 http://example.com","explanation":"Generates 3-word phrases (trigrams) for phrase-based dictionary attacks."},{"id":32,"category":"Red Team Recon Workflow","command":"cewl -d 3 -m 5 --lowercase -w target_recon.txt http://example.com","example":"cewl -d 3 -m 5 --lowercase -w target_recon.txt http://example.com","explanation":"Standard red team setup for a deep, case-insensitive wordlist."},{"id":33,"category":"Red Team Recon Workflow","command":"cewl -d 2 -o -w external_scope.txt http://example.com","example":"cewl -d 2 -o -w external_scope.txt http://example.com","explanation":"Gathers words from the target and immediate external links for wider context."},{"id":34,"category":"Red Team Recon Workflow","command":"cewl -d 2 -e --email_file targets.txt -n http://example.com","example":"cewl -d 2 -e --email_file targets.txt -n http://example.com","explanation":"Targeted phishing list generation focusing solely on emails."},{"id":35,"category":"Blue Team Validation","command":"cewl -m 10 -w compliance_check.txt http://example.com","example":"cewl -m 10 -w compliance_check.txt http://example.com","explanation":"Generates a list of long words to test against maximum password length policies."},{"id":36,"category":"Blue Team Validation","command":"cewl -d 5 --with-numbers -w policy_audit.txt http://example.com","example":"cewl -d 5 --with-numbers -w policy_audit.txt http://example.com","explanation":"Audits site content for alphanumeric patterns that might appear in passwords."},{"id":37,"category":"Blue Team Validation","command":"cewl -a --meta_file potential_leaks.txt http://example.com","example":"cewl -a --meta_file potential_leaks.txt http://example.com","explanation":"Scans for metadata that might reveal internal software versions or user names."},{"id":38,"category":"Complex Workflow","command":"cewl -d 2 -m 5 --with-numbers --lowercase -w complex.txt http://example.com","example":"cewl -d 2 -m 5 --with-numbers --lowercase -w complex.txt http://example.com","explanation":"Combines numbers, lowercase normalization, and depth for a robust hybrid list."},{"id":39,"category":"Complex Workflow","command":"cewl -u \"Baiduspider\" -d 3 -v http://example.com","example":"cewl -u \"Baiduspider\" -d 3 -v http://example.com","explanation":"Deep crawl masquerading as Baidu spider with verbose logging."},{"id":40,"category":"Complex Workflow","command":"cewl --auth_type Basic --auth_user test --auth_pass test -w internal.txt http://192.168.1.10","example":"cewl --auth_type Basic --auth_user test --auth_pass test -w internal.txt http://192.168.1.10","explanation":"Internal network scan of a basic auth protected device."},{"id":41,"category":"Output Hygiene","command":"cewl http://example.com > raw_output.txt","example":"cewl http://example.com > raw_output.txt","explanation":"Redirects stdout to a file using shell redirection instead of the -w flag."},{"id":42,"category":"Output Hygiene","command":"cewl -d 1 -m 6 http://example.com | sort -u","example":"cewl -d 1 -m 6 http://example.com | sort -u","explanation":"Pipes output to sort for immediate deduplication."},{"id":43,"category":"Targeting Specific Assets","command":"cewl -d 3 --keep http://example.com","example":"cewl -d 3 --keep http://example.com","explanation":"Retains the downloaded files locally for further manual analysis."},{"id":44,"category":"Advanced Proxy Usage","command":"cewl --proxy_host 10.10.10.5 --proxy_port 3128 -v http://example.com","example":"cewl --proxy_host 10.10.10.5 --proxy_port 3128 -v http://example.com","explanation":"Uses an upstream corporate proxy with verbose output to debug connection issues."},{"id":45,"category":"Custom Header Simulation","command":"cewl --ua \"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)\" http://example.com","example":"cewl --ua \"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)\" http://example.com","explanation":"Simulates a legacy browser to potentially trigger different server responses."},{"id":46,"category":"Aggressive Crawl","command":"cewl -d 7 -m 4 http://example.com","example":"cewl -d 7 -m 4 http://example.com","explanation":"Very deep crawl accepting short words, high noise potential."},{"id":47,"category":"Precise Crawl","command":"cewl -d 1 -m 8 --lowercase --no-words --email_file targets.txt http://example.com","example":"cewl -d 1 -m 8 --lowercase --no-words --email_file targets.txt http://example.com","explanation":"Shallow scan strictly for emails with no wordlist generation."},{"id":48,"category":"Meta Analysis Direct","command":"cewl -a -d 3 http://example.com","example":"cewl -a -d 3 http://example.com","explanation":"Deep meta data extraction printed directly to console."},{"id":49,"category":"Phrase Attack Prep","command":"cewl -g 4 -w passphrases.txt http://example.com","example":"cewl -g 4 -w passphrases.txt http://example.com","explanation":"Creates a list of 4-word sentences for passphrase attacks."},{"id":50,"category":"Incident Response","command":"cewl -d 2 -m 4 --with-numbers -w incident_context.txt http://defaced-site.com","example":"cewl -d 2 -m 4 --with-numbers -w incident_context.txt http://defaced-site.com","explanation":"Quickly profiles a compromised site to identify injected keywords."},{"id":51,"category":"High Precision Wordlist","command":"cewl -d 2 -m 6 -c -w frequencies.txt http://example.com","example":"cewl -d 2 -m 6 -c -w frequencies.txt http://example.com","explanation":"Generates a frequency map of 6+ letter words to identify key topics."},{"id":52,"category":"Bypassing WAF Detection","command":"cewl --ua \"Bingbot/2.0\" -d 2 http://example.com","example":"cewl --ua \"Bingbot/2.0\" -d 2 http://example.com","explanation":"Attempts to bypass WAF bot detection by mimicking Bing."},{"id":53,"category":"Mixed Auth & Proxy","command":"cewl --proxy_host 127.0.0.1 --proxy_port 8080 --auth_type Basic --auth_user admin --auth_pass admin http://example.com","example":"cewl --proxy_host 127.0.0.1 --proxy_port 8080 --auth_type Basic --auth_user admin --auth_pass admin http://example.com","explanation":"Routes authenticated traffic through a proxy for inspection."},{"id":54,"category":"German Language Targeting","command":"cewl --convert-umlauts -d 2 -w german_words.txt http://example.de","example":"cewl --convert-umlauts -d 2 -w german_words.txt http://example.de","explanation":"Specialized crawl for German sites ensuring character correctness."},{"id":55,"category":"Full Site Map Crawl","command":"cewl -d 10 -m 5 -w full_site.txt http://example.com","example":"cewl -d 10 -m 5 -w full_site.txt http://example.com","explanation":"Extremely deep crawl attempting to map the entire site vocabulary."},{"id":56,"category":"Developer Comment Hunting","command":"cewl -d 2 -a --meta_file comments.txt http://dev.example.com","example":"cewl -d 2 -a --meta_file comments.txt http://dev.example.com","explanation":"Targets development subdomains extracting metadata and potential leaks."},{"id":57,"category":"Single Page Profiling","command":"cewl -d 0 -c -v http://example.com/login","example":"cewl -d 0 -c -v http://example.com/login","explanation":"Analyzes a single login page in verbose mode for keyword frequency."},{"id":58,"category":"Pipeline Integration","command":"cewl http://example.com | grep 'admin'","example":"cewl http://example.com | grep 'admin'","explanation":"Pipes output to grep to filter for specific high-value keywords immediately."},{"id":59,"category":"Strict Min Length","command":"cewl -m 15 -w strong_passwords.txt http://example.com","example":"cewl -m 15 -w strong_passwords.txt http://example.com","explanation":"Generates a list containing only very long words for high-security targets."},{"id":60,"category":"Ultimate Recon Combo","command":"cewl -d 3 -m 5 --lowercase --with-numbers -a --meta_file meta.txt -e --email_file emails.txt -w words.txt http://example.com","example":"cewl -d 3 -m 5 --lowercase --with-numbers -a --meta_file meta.txt -e --email_file emails.txt -w words.txt http://example.com","explanation":"All-in-one command gathering words, emails, and metadata simultaneously."}],"slug":"cewl","category":"credentials","url":"https://terminal.rokibulroni.com/tool/credentials/cewl","markdown":"https://terminal.rokibulroni.com/api/v1/tools/credentials/cewl.md"}