How To Install urlextractor on Ubuntu 22.04
Introduction
In this tutorial we learn how to install urlextractor
on Ubuntu 22.04.
What is urlextractor
urlextractor is:
urlextractor gathers information from the specified URL and prints it to STDOUT gathering the following information:
- IP and hosting info like city and country (using FreegeoIP)
- DNS servers (using dig)
- ASN, Network range, ISP name (using RISwhois)
- Load balancer test
- Whois for abuse mail (using Spamcop)
- PAC (Proxy Auto Configuration) file
- Compares hashes to diff code
- robots.txt (recursively looking for hidden stuff)
- Source code (looking for passwords and users)
- External links (frames from other websites)
- Directory FUZZ (like Dirbuster and Wfuzz - using Dirbuster) directory list)
- URLvoid API - checks Google page rank, Alexa rank and possible blacklists
- Provides useful links at other websites to correlate with IP/ASN
- Option to open ALL results in browser at the end
There are three methods to install urlextractor
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install urlextractor Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install urlextractor
using apt-get
by running the following command:
sudo apt-get -y install urlextractor
Install urlextractor Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install urlextractor
using apt
by running the following command:
sudo apt -y install urlextractor
Install urlextractor 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install urlextractor
using aptitude
by running the following command:
sudo aptitude -y install urlextractor
How To Uninstall urlextractor on Ubuntu 22.04
To uninstall only the urlextractor
package we can use the following command:
sudo apt-get remove urlextractor
Uninstall urlextractor And Its Dependencies
To uninstall urlextractor
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove urlextractor
Remove urlextractor Configurations and Data
To remove urlextractor
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge urlextractor
Remove urlextractor configuration, data, and all of its dependencies
We can use the following command to remove urlextractor
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge urlextractor
References
Summary
In this tutorial we learn how to install urlextractor
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.