Httpx – Http Probing and Web Reconnaissance

HTTPX is a fast command-line tool from ProjectDiscovery that is used to check websites and web servers. It can check if a website is reachable and display useful information such as HTTP status codes, page titles, technologies, and server details. HTTPX is useful for learning web reconnaissance and security testing in Termux.

Here’s what you can do with HTTPX in Termux:

  • Check if websites are online.
  • Show HTTP status codes.
  • Display page titles.
  • Detect web technologies.
  • Show server information.
  • Check multiple URLs.
  • Save results to a file.

HTTPX Installation Commands

You can install HTTPX in Termux using Git and Go. Run the following commands one by one to install and set up HTTPX.

Update Termux packages.

pkg update && pkg upgrade -y

Install Git and Go.

pkg install git golang -y

Clone the HTTPX repository.

git clone https://github.com/projectdiscovery/httpx.git

Go to the HTTPX directory.

cd httpx

Build HTTPX.

go build -o httpx ./cmd/httpx

Move HTTPX to the global binary directory.

mv httpx $PREFIX/bin/

Check the installed version.

httpx -version

HTTPX is now installed and ready to use.

HTTPX Usage Commands

After installing HTTPX, you can use different commands to check websites and collect basic HTTP information.

Check a website.

echo "https://example.com" | httpx

The tool will check the website and display the URL if it is reachable.

Show the HTTP status code.

echo "https://example.com" | httpx -status-code

Show the page title.

echo "https://example.com" | httpx -title

Detect web technologies.

echo "https://example.com" | httpx -tech-detect

Show server information.

echo "https://example.com" | httpx -server

Show the response content length.

echo "https://example.com" | httpx -content-length

Show the response time.

echo "https://example.com" | httpx -response-time

Show multiple details together.

echo "https://example.com" | httpx -status-code -title -tech-detect -server

Check multiple websites from a file.

httpx -l urls.txt

Save the results to a file.

httpx -l urls.txt -o results.txt

Show the HTTPX help menu.

httpx -h

You can use these commands to check websites and collect useful HTTP information from the Termux terminal. Only test websites and systems that you own or have permission to assess.

Httpx Overview

HTTPX is a simple and fast command-line tool for checking websites and collecting basic web information. It provides simple commands to check URLs and view basic information from the terminal. You can use its different options to get more details about the websites you are testing.

SHARE THIS POST: