HTTPX

Testing for online subdomains

httpx is a fast and multi-purpose HTTP toolkit that allows running multiple probes using the retryablehttp library. It is designed to maintain result reliability with an increased number of threads.

Here are the steps to test all the enumerated subdomains from the domain "example.com" using the httpx tool:

  1. First, you will need to have the httpx tool installed on your system. You can install it using the following command:

go get -u github.com/projectdiscovery/httpx/cmd/httpx
  1. Once httpx is installed, you can use it to test the enumerated subdomains. The basic syntax is:

httpx -threads 100 -l subdomains.txt -o httpx_output.txt

Where subdomains.txt is a file containing the list of subdomains, and httpx_output.txt is the output file that will contain the results of the scan. The -threads option specifies the number of concurrent requests that httpx will make.

  1. To test all the enumerated subdomains from the "example.com" domain, you can use the following command:

httpx -threads 100 -l subdomains.txt -o httpx_output.txt -t 200 -m GET -follow-redirects -no-color

This will send a GET request to each subdomain and follow any redirects. The -t option specifies the timeout for each request and the -no-color option disables colored output.

The output file httpx_output.txt will contain information on the HTTP response code, response time, and any other relevant information for each subdomain tested. You can use this information to identify any subdomains that are potentially vulnerable or interesting for further testing.

Last updated