Table Of Contents :


What is HTTPX ?
httpx is a fast and multi-purpose HTTP toolkit allow to run multiple probers using retryablehttp library, it is designed to maintain the result reliability with increased threads.
Features of HTTPX ?
httpx is a fast and multi-purpose HTTP toolkit allow to run multiple
Simple and modular code base making it easy to contribute.
Fast And fully configurable flags to probe multiple elements.
Supports multiple HTTP based probings.
Smart auto fallback from https to http as default.
Supports hosts, URLs and CIDR as input.
Handles edge cases doing retries, backoffs etc for handling WAFs.
Installation
httpx requires go1.17 to install successfully. Run the following command to get the repo –
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest
After this you have to copy the tool in your path ( echo $PATH ). For me it is –
cp ~/go/bin/httpx /usr/local/bin
Usage
Now, you are all ready to run this tool from anywhere on the terminal
To check the help menu of the tool run this command :
httpx -h
httpx with subfinder
So, to use this tool you must have a subdomain file, for this you can use subfinder :
subfinder -d freecharge.in | tee subdomains.txt
cat subdomains.txt | httpx


httpx -sc
If you want to get the status code along with subdomain then use the -sc
option :
cat subdomains.txt | httpx -sc


httpx -title
If you want to get the title of the subdomain then use this option -title
:


httpx -ct
The next option is the-ct
option it displays the content type of the subdomain :


httpx -td
The next option is the-td
option it displays the technologies that the website is using through wappalyzer datasets :


httpx -server
The next option is the-server
option it displays the server that the subdomains are using :


httpx -fc
The next option is -fc
is used to filter response with specified status code (-fc 403,401
)


httpx -csv & -json
The next options are related to output like if you want an output in json or csv format you can use the options -csv -json
:
cat freec.txt | httpx -csv -o live.csv
cat freec.txt | httpx -json -o live.json

