当我尝试使用 cURL 访问 TOR 上的隐藏服务时,由于某种原因,我无法 100% 地访问该网站。很多次都会返回"curl: (7) Can't complete SOCKS5 connection to 0.0.0.0:0. (5)"
我可以做些什么来配置 cURL 以便更好地与 TOR 配合使用吗?这是我得到的输出:
root@Dexter:~# curl --proxy socks5h://localhost:9050 http://5ztppjwojkuslibm.onion/
curl: (7) Can't complete SOCKS5 connection to 0.0.0.0:0. (5)
root@Dexter:~# curl --proxy socks5h://localhost:9050 http://5ztppjwojkuslibm.onion/
curl: (7) Can't complete SOCKS5 connection to 0.0.0.0:0. (5)
root@Dexter:~# curl --proxy socks5h://localhost:9050 http://5ztppjwojkuslibm.onion/
curl: (18) transfer closed with 1 bytes remaining to read
<h1>This is a test page to see if I can run a hidden tor service!</h1><h3>Looks like …Run Code Online (Sandbox Code Playgroud)