How do I use Tor with cURL (in Windows)?

前端 未结 3 2087
我在风中等你
我在风中等你 2021-02-06 12:59

I have Vidalia installed, set up Chrome to use port 8118 for the proxy and I\'ve checked my connection through https://check.torproject.org/ but I\'m having difficulties getting

相关标签:
3条回答
  • 2021-02-06 13:22

    Use --socks5 (two dashes). -socks5 is not a valid parameter for curl, so curl is interpreting it as a hostname.

    0 讨论(0)
  • 2021-02-06 13:22

    More updated response using socks5.

    curl -v --socks5 localhost:9150 http://check.torproject.org/
    

    So, using port 9150 for socks 5.

    0 讨论(0)
  • 2021-02-06 13:32

    Turns out this entire mess was just syntax problems. A proper command is here:

    curl -v --socks4a localhost:9050 http://check.torproject.org/
    

    With TWO dashes before socks4a and ONE colon before the port.

    0 讨论(0)
提交回复
热议问题