Speed Up Web App Testing with HTTPX on Kali

Feb 5, 2024 ยท 2 min read

One of the most popular penetration testing distributions is Kali Linux. With over 600 preinstalled tools for information gathering, vulnerability assessment, exploitation, reverse engineering, and more, Kali is a go-to choice for ethical hackers and cybersecurity professionals. However, the default Kali install lacks some newer tools that can make web application testing more efficient. One such tool is HTTPX - a fast, multi-purpose HTTP toolkit perfect for pentesters. In this article, I'll walk through getting HTTPX up and running on your Kali box.

Install Dependencies

HTTPX relies on Go to compile the binary, so first we need to install that:

apt update
apt install golang

We also need to install the GCC compiler:

apt install gcc

Download HTTPX

Now we can fetch the HTTPX source code from GitHub:

go get -u github.com/projectdiscovery/httpx/cmd/httpx

This will download it into your $GOPATH directory - likely ~/go/bin.

Set Permissions

To call HTTPX conveniently from anywhere, add the path to your binaries:

export PATH=$PATH:~/go/bin

Also give it execute permission:

chmod +x ~/go/bin/httpx

Test It Out

You should now be able to invoke HTTPX from any directory!

httpx -h

The wide range of options make HTTPX super versatile for testing web apps, whether looking for vulnerabilities, profiling servers, or mapping networks.

With this powerful new tool installed, you can conduct web app assessments faster and more efficiently. HTTPX is just one example of the new generation of pentesting utilities not included in Kali by default. Let me know in the comments what other tools you find useful!

Browse by tags:

Browse by language:

The easiest way to do Web Scraping

Get HTML from any page with a simple API call. We handle proxy rotation, browser identities, automatic retries, CAPTCHAs, JavaScript rendering, etc automatically for you

Try ProxiesAPI for free

curl "http://api.proxiesapi.com/?key=API_KEY&url=https://example.com"

<!doctype html>
    <title>Example Domain</title>
    <meta charset="utf-8" />
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />


Don't leave just yet!

Enter your email below to claim your free API key: