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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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. sshpass Command: Non-interactive Password Authentication with SSH
  2. lspci Command Examples in Linux
  3. chfn Command Examples in Linux
  4. UNIX / Linux : Send mail with attachment using mutt
  5. kwrite: command not found
  6. logrotate Command Examples in Linux
  7. “mlock failed: Cannot allocate memory” lvcreate command error in CentOS/RHEL 7
  8. rename: command not found
  9. Windows Active Directory Account Shows Inconsistent UID/GID In Different Linux SSSD Clients (CentOS/RHEL)
  10. Linux / UNIX : How to create primary partition using fdisk

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright