cmd shell命令行 使用代理安装软件proxychains


sudo apt-get install proxychains4

如果是proxychains4
proxychains4 - config
查看配置文件: /usr/local/etc/proxychains.conf


如果是 proxychain

配置文件

sudo vim /etc/proxychains4.conf

最下面:
[ProxyList]
socks4  127.0.0.1 10808
http  127.0.0.1 10809

curl ipinfo.io
proxychains4 curl ipinfo.io

使用: proxychains curl google.com

ProxyChains-3.1 (http://proxychains.sf.net)
|DNS-request| google.com 
|S-chain|-<>-127.0.0.1:10808-<>-127.0.0.1:10809-<><>-4.2.2.2:53-<><>-OK
|DNS-response| google.com is 142.250.115.101
|S-chain|-<>-127.0.0.1:10808-<>-127.0.0.1:10809-<><>-142.250.115.101:80-<><>-OK
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>


curl www.httpbin.org/ip
proxychains  curl www.httpbin.org/ip

阅读量: 615
发布于:
修改于: