给kali安装代理proxychains

安装:

sudo apt install proxychains

配置:

sudo vim /etc/proxychains.conf

(要用sudo进入root模式否之保存不了)
在这个配置文件最下面有[ProxyList]这么一行,在这行下面添加上socks5 127.0.0.1 1080如果有别的比如socks4 127.0.0.1 9050那么就把它给注释掉。
i 进入编辑,保存退出按esc,再同时敲下shift和; ,再输入wq,回车即可。
在这里插入图片描述

使用

如果你只是给一个命令实现代理,比如你要git clone什么东西,你只要在这个命令前面加上proxychains这个命令就好,比如

proxychains git clone https://github.com/haad/proxychains.git

其他的都一样,比如

proxychains wget https://github.com/haad/proxychains/archive/proxychains-4.2.0.tar.gz

猜你喜欢

转载自blog.csdn.net/anlalu233/article/details/112212862