You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
27
+
`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.
-ztls use ztls library with autofallback to standard one for tls13
186
189
187
190
DEBUG:
188
191
-health-check, -hc run diagnostic check up
@@ -204,6 +207,7 @@ OPTIMIZATIONS:
204
207
-ec, -exclude-cdn skip full port scans for CDNs (only checks for 80,443)
205
208
-retries int number of retries
206
209
-timeout int timeout in seconds (default 5)
210
+
-delay duration duration between each http request (eg: 200ms, 1s) (default -1ns)
207
211
-rsts, -response-size-to-save int max response size to save in bytes (default 2147483647)
208
212
-rstr, -response-size-to-read int max response size to read in bytes (default 2147483647)
209
213
```
@@ -241,7 +245,7 @@ https://support.hackerone.com
241
245
242
246
### File Input
243
247
244
-
This will run the tool with the `probe` flag against all of the hosts in **hosts.txt** and return URLs with probed status.
248
+
This will run the tool with the `-probe` flag against all the hosts in **hosts.txt** and return URLs with probed status.
245
249
246
250
```console
247
251
httpx -list hosts.txt -silent -probe
@@ -467,31 +471,30 @@ https://docs.hackerone.com
467
471
https://support.hackerone.com
468
472
```
469
473
470
-
### Using httpx as a library
471
-
`httpx` can be used as a library by creating an instance of the `Option` struct and populating it with the same options that would be specified via CLI. Once validated, the struct should be passed to a runner instance (to close at the end of the program) and the `RunEnumeration` method should be called. Here follows a minimal example of how to do it:
474
+
### Using `httpx` as a library
475
+
`httpx` can be used as a library by creating an instance of the `Option` struct and populating it with the same options that would be specified via CLI. Once validated, the struct should be passed to a runner instance (to be closed at the end of the program) and the `RunEnumeration` method should be called. Here follows a minimal example of how to do it:
- When using the `-json` flag, all the default probe results are included in the JSON output.
521
+
- Custom resolver supports multiple protocol (**doh|tcp|udp**) in form of `protocol:resolver:port`(e.g. `udp:127.0.0.1:53`)
519
522
- Invalid custom resolvers/files are ignored.
520
523
521
524
# Acknowledgement
522
525
523
-
httpx is made with 🖤 by the [projectdiscovery](https://projectdiscovery.io) team. Community contributions have made the project what it is. See the **[Thanks.md](https://github.com/projectdiscovery/httpx/blob/master/THANKS.md)** file for more details. Do also check out these similar awesome projects that may fit in your workflow:
526
+
Probing feature is inspired by [@tomnomnom/httprobe](https://github.com/tomnomnom/httprobe) work ❤️
527
+
528
+
529
+
--------
530
+
531
+
<divalign="center">
532
+
533
+
`httpx` is made with 💙 by the [projectdiscovery](https://projectdiscovery.io) team and distributed under [MIT License](LICENSE.md).
0 commit comments