# HTTPX

`httpx` is a fast and multi-purpose HTTP toolkit that allows running multiple probes using the [retryablehttp](https://github.com/projectdiscovery/retryablehttp-go) 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:

```bash
go install github.com/projectdiscovery/httpx/cmd/httpx@latest
```

2. Once `httpx` is installed, you can use it to test the enumerated subdomains. The basic syntax is:

```bash
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.

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

```bash
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.
