proxychain安装与使用
Last updated
Was this helpful?
Last updated
Was this helpful?
可以hook libc中所有网络相关的函数,强制所有的TCP
连接都通过指定的socks4/5或者http代理,避免对于不同的app,需要分别设置代理的繁琐。
下载代码:git clone https://github.com/rofl0r/proxychains-ng.git
进入代码目录并运行configure
:./configure --prefix=/usr --sysconfdir=/etc
编译:make
安装proxychain:sudo make install
安装配置文件:sudo make install-config
,配置文件位于etc/proxychains.conf
中。
todo
修改配置文件
使用编辑器打开etc/proxychains.conf
,将最后一行修改为想要的代理。例如设置SOCKS5代理:socks5 127.0.0.1 1080
,说明在本地回环地址的1080端口走socks5代理。
代理app
例如使用代理clone
代码:proxychains4 git clone https://github.com/rofl0r/proxychains-ng.git
。
todo