How To Install cewl on Debian 10
Introduction
In this tutorial we learn how to install cewl
on Debian 10.
What is cewl
cewl is:
CeWL (Custom Word List generator) is a ruby app which spiders a given URL, up to a specified depth, and returns a list of words which can then be used for password crackers such as John the Ripper. Optionally, CeWL can follow external links.
CeWL can also create a list of email addresses found in mailto links. These email addresses can be used as usernames in brute force actions.
Another tool provided by CeWL project is FAB (Files Already Bagged). FAB extracts the content of the author/creator fields, from metadata of the some files, to create lists of possible usernames. These usernames can be used in association with the password list generated by CeWL. FAB uses the same metadata extraction techniques that CeWL. Currently, FAB process Office pre 2007, Office 2007 and PDF formats.
CeWL is useful in security tests and forensics investigations. CeWL is pronounced “cool”.
There are three methods to install cewl
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install cewl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install cewl
using apt-get
by running the following command:
sudo apt-get -y install cewl
Install cewl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install cewl
using apt
by running the following command:
sudo apt -y install cewl
Install cewl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install cewl
using aptitude
by running the following command:
sudo aptitude -y install cewl
How To Uninstall cewl on Debian 10
To uninstall only the cewl
package we can use the following command:
sudo apt-get remove cewl
Uninstall cewl And Its Dependencies
To uninstall cewl
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove cewl
Remove cewl Configurations and Data
To remove cewl
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge cewl
Remove cewl configuration, data, and all of its dependencies
We can use the following command to remove cewl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cewl
Dependencies
cewl have the following dependencies:
- ruby
- ruby-mime
- ruby-mime-types
- ruby-mini-exiftool
- ruby-net-http-digest-auth
- ruby-nokogiri
- ruby-spider
- ruby-zip
References
Summary
In this tutorial we learn how to install cewl
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.