a-quick-guide-to-cewl

A quick guide to CeWL

Hi everyone, Welcome to Pentestguy. This article will focus on a quick guide to cewl, one of the most powerful tools used for custom wordlist generation. There are other tools available for generating a custom wordlist, like crunch, but cewl is serving a different purpose. Every pentester should add the custom wordlist approach in their methodology, this will help to give better results, and that’s why here is a quick guide to cewl. Which can help you to understand overall cewl uses with commands.

Likewise, the other tools, cewl, also provide the help options, where a user can check all the available options present for cewl.

cewl --help
cewl-help-option

The default command gives a quick wordlist output, you can also use the below command against your target.

cewl https://pentestguy.in
guide-to-cewl-default-option

The verbose option of cewl is the same as other tools, which gives more information to the user during execution.

cewl https://pentestguy.in -v
guide-to-cewl-verbose

Like the name lowercase, it will generate the wordlist but with all lowercase. Make sure to use the –lowercase option as below.

cewl https://pentestguy.in --lowercase
guide-to-cewl-lowercase

The count option shows the count for each word found. Refer to the picture below for better understanding.

cewl http://testphp.vulnhub.com -c
guide-to-cewl-count

User can also specify the word length, which helps to create a custom wordlist for the password. You can use the below example to achieve the same.

cewl https://pentesguy.in -m 8
custom-length-option

Cewl has the -e option which helps to gather the email addresses from the target and that will be useful for the pentester for performing attacks like brute force.

cewl https://pentestguy.com -e
email-options

Cewl provides the -w option to write the output, which is going to be saved for later uses during the penetration testing process.

cewl https://pentestguy.in -w wordlist.txt
wordlist-option

As the wordlist, it will be combinations of multiple things, and by using cewl, we can add numbers. While creating the wordlist, we can use –with-numbers as given below.

cewl https://pentestguy.com --with-numbers -w wordlist.txttail wordlist.txt
with-numbers-option

It also provides authentication options, so follow the command given below.

cewl --auth_type basic --auth_user test --auth_pass test http://testphp.vulnhub.com
cewl-auth-option

There are many options of cewl which you can try like proxy, exclude, depth and speficy the user agent, etc. That’s all about this post. Please share this post with your co-workers and friends if you found it helpful. Please provide valuable comments and let us know if you have any suggestions. Now, you can also collaborate with us. Please check our collaboration page. Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Posts

Social Media