In this module, we will utilize four powerful tools designed for web application reconnaissance and vulnerability assessment. To streamline our setup, we'll install them all upfront.
You will require Go and Python installed for these tools. Install them as follows if you don't have them installed already.
pipx is a command-line tool designed to simplify the installation and management of Python applications. It streamlines the process by creating isolated virtual environments for each application, ensuring that dependencies don't conflict. This means you can install and run multiple Python applications without worrying about compatibility issues. pipx also makes it easy to upgrade or uninstall applications, keeping your system organized and clutter-free.
If you are using a Debian-based system (like Ubuntu), you can install Go, Python, and PIPX using the APT package manager.
Open a terminal and update your package lists to ensure you have the latest information on the newest versions of packages and their dependencies.
shellsession
Moyinthehacker@htb[/htb]$ sudo apt update
Use the following command to install Go:
shellsession
Moyinthehacker@htb[/htb]$ sudo apt install -y golang
Use the following command to install Python:
shellsession
Moyinthehacker@htb[/htb]$ sudo apt install -y python3 python3-pip
Use the following command to install and configure pipx:
shellsession
Moyinthehacker@htb[/htb]$ sudo apt install pipx
Moyinthehacker@htb[/htb]$ pipx ensurepath
Moyinthehacker@htb[/htb]$ sudo pipx ensurepath --global
To ensure that Go and Python are installed correctly, you can check their versions:
shellsession
Moyinthehacker@htb[/htb]$ go version
Moyinthehacker@htb[/htb]$ python3 --version
If the installations were successful, you should see the version information for both Go and Python.
FFUF (Fuzz Faster U Fool) is a fast web fuzzer written in Go. It excels at quickly enumerating directories, files, and parameters within web applications. Its flexibility, speed, and ease of use make it a favorite among security professionals and enthusiasts.
You can install FFUF using the following command:
shellsession
Moyinthehacker@htb[/htb]$ go install github.com/ffuf/ffuf/v2@latest
| Use Case | Description |
|---|---|
Directory and File Enumeration |
Quickly identify hidden directories and files on a web server. |
Parameter Discovery |
Find and test parameters within web applications. |
Brute-Force Attack |
Perform brute-force attacks to discover login credentials or other sensitive information. |
Gobuster is another popular web directory and file fuzzer. It's known for its speed and simplicity, making it a great choice for beginners and experienced users alike.