• 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 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. showmount Command Examples in Linux
  2. How to disable FIPS mode on CentOS/RHEL 7
  3. How to mount USB flash drive in Linux
  4. lrzuntar: command not found
  5. hostnamectl: command not found
  6. gpg: command not found
  7. How to Check if a Service Restart or Server Reboot is required After RPM Package Update (CentOS/RHEL/Fedora)
  8. How to calculate recommended value of vm.min_free_kbytes Kernel Tuning Parameter
  9. 520000 – FAQ: Valuated special stock
  10. blurlock Command Examples in Linux

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