Practical CEH Notes & Tools
HomeGitHubPortfolioTwitter/XMediumCont@ct
  • πŸ““Practical Ethical Hacker Notes
    • πŸ“šMain Contents
      • 2 - Footprinting & Recon
      • 3 - Scanning Networks
      • 4 - Enumeration
      • 5 - Vulnerability Analysis
      • 6 - System Hacking
      • 7 - Malware
      • 8 - Sniffing
      • 10 - DoS
      • 11 - Session Hijacking
      • 13 - Hacking Web Servers
      • 14 - Hacking Web Apps
      • 15 - SQL Injection
      • 16 - Hacking Wireless
      • 17 - Hacking Mobile
      • 18 - IoT and OT Hacking
      • 19 - Cloud Computing
      • 20 - Cryptography
    • πŸ‘¨β€πŸŽ“Study Walkthrough
      • πŸ§ͺLabs and Training
    • Tools πŸ› οΈ
      • πŸ€–Adb tool
      • πŸ”BCTextEncoder
      • 🟧Burp Suite
      • πŸ‘¨β€πŸ’»Cewl
      • πŸ“Crunch
      • πŸ—ƒοΈDirb
      • 🐧Enum4linux
      • πŸ”—Gobuster
      • πŸ”“Hashcalc
      • 😺Hashcat
      • πŸ‘‰Hping3
      • πŸ‰Hydra
      • πŸ₯·John the Ripper
      • Ⓜ️Metasploit
      • 5️⃣Md5 Calculator
      • πŸ‘½Nikto
      • πŸ‘οΈNmap
      • πŸ–ΌοΈOpenstego
      • 🎨QuickStego
      • 🌈RainbowCrack
      • ↗️Responder LLMNR
      • πŸ•·οΈSearchsploit
      • β›„Snow
      • πŸŒ€Stego
      • πŸ’‰SQLMap
      • βš™οΈSteghide
      • βš—οΈStegimage
      • πŸ”‘Veracrypt
      • 🦈Wireshark or Tcpdump
      • πŸ”WPScan
      • ⚑Zap
Powered by GitBook
On this page
  • CeWL - Custom Word List generator
  • Cheatsheet
  • Example of usage
  • Other Resources:
  1. Practical Ethical Hacker Notes
  2. Tools πŸ› οΈ

Cewl

https://github.com/digininja/CeWL https://www.kali.org/tools/cewl/

CeWL - Custom Word List generator

CeWL (Custom Word List generator) is a ruby app which spiders a given URL, up to a specified depth, and returns a list of words which can then be used for password crackers such as John the Ripper. Optionally, CeWL can follow external links.

CeWL can also create a list of email addresses found in mailto links. These email addresses can be used as usernames in brute force actions.

Another tool provided by CeWL project is FAB (Files Already Bagged). FAB extracts the content of the author/creator fields, from metadata of the some files, to create lists of possible usernames. These usernames can be used in association with the password list generated by CeWL. FAB uses the same metadata extraction techniques that CeWL. Currently, FAB process Office pre 2007, Office 2007 and PDF formats.

CeWL is useful in security tests and forensics investigations.

Cheatsheet

OPTIONS:
	-h, --help: Show help.
	-k, --keep: Keep the downloaded file.
	-d <x>,--depth <x>: Depth to spider to, default 2.
	-m, --min_word_length: Minimum word length, default 3.
	-o, --offsite: Let the spider visit other sites.
	--exclude: A file containing a list of paths to exclude
	--allowed: A regex pattern that path must match to be followed
	-w, --write: Write the output to the file.
	-u, --ua <agent>: User agent to send.
	-n, --no-words: Don't output the wordlist.
	-g <x>, --groups <x>: Return groups of words as well
	--lowercase: Lowercase all parsed words
	--with-numbers: Accept words with numbers in as well as just letters
	--convert-umlauts: Convert common ISO-8859-1 (Latin-1) umlauts (À-ae, â-oe, ü-ue, ß-ss)
	-a, --meta: include meta data.
	--meta_file file: Output file for meta data.
	-e, --email: Include email addresses.
	--email_file <file>: Output file for email addresses.
	--meta-temp-dir <dir>: The temporary directory used by exiftool when parsing files, default /tmp.
	-c, --count: Show the count for each word found.
	-v, --verbose: Verbose.
	--debug: Extra debug information.

	Authentication
	--auth_type: Digest or basic.
	--auth_user: Authentication username.
	--auth_pass: Authentication password.

	Proxy Support
	--proxy_host: Proxy host.
	--proxy_port: Proxy port, default 8080.
	--proxy_username: Username for proxy, if required.
	--proxy_password: Password for proxy, if required.

	Headers
	--header, -H: In format name:value - can pass multiple.

    <url>: The site to spider.

Example of usage

To spider a site and write all found words to a file

cewl -w

To spider a site and follow links to other sites

cewl -o

To spider a site using a given user-agent

cewl -u

To spider a site for a given depth and minimum word length

cewl -d -m

To spider a site and include a count for each word

cewl -c

To spider a site inluding meta data and separate the meta_data words

cewl -a -meta_file

To spider a site and store email adresses in a separate file

cewl -e -email_file

To spider Email Retrieval from a Website

cewl -n -e

Using a verbose flag (-v) is always a good solution.

Wordlist creation

cewl -d 2 -m 5 -w docswords.txt https://example.com

Other Resources:

PreviousBurp SuiteNextCrunch

Last updated 1 year ago

πŸ““
πŸ‘¨β€πŸ’»
Hack Like a Pro: How to Crack Passwords, Part 5 (Creating a Custom Wordlist with CeWL)WonderHowTo
Logo