kali linux 设置proxychains 代理

root@kali:/home/ubuntu/桌面# git clone https://github.com/rofl0r/proxychains-ng.git
正克隆到 'proxychains-ng'...
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 1288 (delta 8), reused 11 (delta 5), pack-reused 1269
接收对象中: 100% (1288/1288), 643.98 KiB | 13.00 KiB/s, 完成.
处理 delta 中: 100% (845/845), 完成.

root@kali:/home/ubuntu/桌面# cd proxychains-ng/

root@kali:/home/ubuntu/桌面/proxychains-ng# ls
AUTHORS  configure  COPYING  Makefile  README  src  tests  TODO  tools  VERSION

root@kali:/home/ubuntu/桌面/proxychains-ng# ./configure --prefix=/usr --sysconfdir=/etc
checking whether we have GNU-style getservbyname_r() ... yes
checking whether we have pipe2() and O_CLOEXEC ... yes
checking whether $CC defines __APPLE__ ... no
checking whether $CC defines __FreeBSD__ ... no
checking whether $CC defines __OpenBSD__ ... no
checking whether $CC defines __sun ... no
checking whether we can use -Wl,--no-as-needed ... yes
checking what's the option to use in linker to set library name ... --soname
Done, now run make && make install
(#此处的prefix路径一定是/usr 如果换成其他会出现couldnt locate libproxychains4.so)

root@kali:/home/ubuntu/桌面/proxychains-ng# make
  
  root@kali:/home/ubuntu/桌面/proxychains-ng# make install
./tools/install.sh -D -m 644 libproxychains4.so /usr/lib/libproxychains4.so
./tools/install.sh -D -m 755 proxychains4 /usr/bin/proxychains4

root@kali:/home/ubuntu/桌面/proxychains-ng# make install-config 
./tools/install.sh -D -m 644 src/proxychains.conf /etc/proxychains.conf

root@kali:/home/ubuntu/桌面/proxychains-ng# vim /etc/proxychains.conf		//修改最后一行为下图

  

 

root@kali:/home/ubuntu/桌面/proxychains-ng# curl ipinfo.io //查看ip
{
"ip": "xx.xx.xx.xx",


root@kali:/home/ubuntu# proxychains curl ipinfo.io
ProxyChains-3.1 (http://proxychains.sf.net)
|DNS-request| ipinfo.io 
|S-chain|-<>-xx.xx.xx.xx:1086-<><>-xx.xx.xx.x:xx-<><>-OK
|DNS-response| ipinfo.io is xx.xx.xx.xx
|S-chain|-<>-127.0.0.1:1086-<><>-xx.xx.xx.xx:xx-<><>-OK
{
"ip": "xx.xx.xx.xx",


ubuntu@kali:~$ proxychains firefox	//代理火狐

  

kali自带有proxychains代理

配置文件在:/etc/proxychains.conf 

posted on 2020-08-08 12:01  Ra7ing安全实验室  阅读(3870)  评论(0编辑  收藏  举报

导航