• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

cewl Command Examples in Linux

by admin

cewl is a command-line utility in Linux that is used to extract words from web pages and create a custom wordlist. It is commonly used for password cracking and other security-related tasks.

cewl is a Ruby script that is run from the command prompt. To use cewl, you can simply run the command followed by the URL of the web page that you want to extract words from, and cewl will download the web page, extract the words, and output the resulting wordlist to the standard output.

Here is an example of how you can use cewl to extract words from a web page and create a wordlist:

# cewl https://example.com > wordlist.txt

This command will download the web page at https://example.com, extract the words, and save the resulting wordlist to a file called wordlist.txt.

For more information on using cewl, you can consult the cewl documentation or use the cewl –help command to view a list of available options and usage examples.

cewl Command Examples

1. Create a wordlist file from the given URL up to 2 links depth:

# cewl --depth 2 --write path/to/wordlist.txt url

2. Output an alphanumeric wordlist from the given URL with words of minimum 5 characters:

# cewl --with-numbers --min_word_length 5 url

3. Output a wordlist from the given URL in debug mode including email addresses:

# cewl --debug --email url

4. Output a wordlist from the given URL using HTTP Basic or Digest authentication:

# cewl --auth_type basic|digest --auth_user username --auth_pass password url

5. Output a wordlist from the given URL through a proxy:

# cewl --proxy_host host --proxy_port port url

Filed Under: Linux

Some more articles you might also be interested in …

  1. CentOS / RHEL 7 : Lock User Account After N Number of Incorrect Login Attempts
  2. pvchange Command Examples in Linux
  3. pvs Command Examples in Linux
  4. bindkey Command Examples (Add keybindings to Z-Shell)
  5. ganache-cli: Command-line version of Ganache, your personal blockchain for Ethereum development
  6. git checkout: Checkout a branch or paths to the working tree
  7. blockout2: Tetris like game in 3D (Command Examples)
  8. mpstat: command not found
  9. lpr: command not found
  10. pinky Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • “glab pipeline” Command Examples
  • “glab mr” Command Examples
  • “glab mr merge” Command Examples
  • “glab mr” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright