• 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 not found

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.

If you encounter the below error while running the cewl command:

cewl: command not found

you may try installing the below package as per your choice of distribution:

# apt-get install cewl

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. bmaptool Command Examples (Create or copy block maps intelligently)
  2. hwclock Command Examples in Linux
  3. man Command Examples in Linux
  4. Linux OS Service ‘anacron’
  5. How to manage File and Directory Permissions/Ownerships in Linux
  6. paru Command Examples in Linux
  7. hostnamectl Command Examples in Linux
  8. airodump-ng – Capture packets and display information about wireless networks (Command Examples)
  9. blockout2: Tetris like game in 3D (Command Examples)
  10. ltrace: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • glab Command Examples
  • “glab repo” Command Examples
  • “glab release” Command Examples
  • “glab pipeline” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright