CeWL — Custom Word List Generator

CeWL spiders a website and extracts unique strings to build a custom wordlist. The list can feed password crackers like Hashcat or John the Ripper, or be used for directory brute-forcing and content discovery.

Installation

# Kali Linux
sudo apt install cewl
 
# From source (Ruby required)
git clone https://github.com/digininja/CeWL.git
cd CeWL
bundle install

Basic usage

cewl -w $OUTPUT_FILE \
     -d $DEPTH_TO_SPIDER \
     -m $MINIMUM_STRING_LENGTH \
        $URL

Key options

FlagPurpose
-w FILEWrite output to file
-d NSpider depth (default: 2)
-m NMinimum word length (default: 3)
-x NMaximum word length
-oAllow offsite links
-e FILEInclude email addresses
-a FILEInclude metadata (author, etc.)
-cShow word count per entry
-u AGENTCustom User-Agent
--auth_typeHTTP basic/digest authentication

Operational note

CeWL is most useful against company websites, marketing pages, and documentation — the vocabulary reveals internal project names, product codenames, and employee jargon that generic wordlists miss.

Sources

Related: cupp-common-user-passwords-profiler, john-the-ripper, linux-reconnaissance-commands, ffuf, gobuster