projectdiscovery / httpx

httpx is a fast and multi-purpose HTTP toolkit that allows running multiple probes using the retryablehttp library.
https://docs.projectdiscovery.io/tools/httpx
MIT License
7.61k stars 824 forks source link

Support socks5 proxy #1099

Closed geekjy closed 1 year ago

geekjy commented 1 year ago

Please describe your feature request:

Support socks5 proxy

Describe the use case of this feature:

naabu, nuclei, subfinder all support socks5 proxy, why httpx does not support it

saturn99 commented 1 year ago

use -http-proxy "socks5:// socks-address"


echo https://www.google.com | httpx  -http-proxy "socks5://127.0.0.1:8080" -sc

    __    __  __       _  __
   / /_  / /_/ /_____ | |/ /
  / __ \/ __/ __/ __ \|   /
 / / / / /_/ /_/ /_/ /   |
/_/ /_/\__/\__/ .___/_/|_|
             /_/

        projectdiscovery.io

[INF] Current httpx version v1.2.9 (latest)
https://www.google.com [200]
geekjy commented 1 year ago

nice