安装Anonsurf使Kali Linux匿名

简介

https://dropall.github.io/2016-12-20-anonsurf-ip-spoofing/

github: https://github.com/Und3rf10w/kali-anonsurf

下载Anonsurf

从GIT克隆anonsurf

root@kali:~# git clone https://github.com/Und3rf10w/kali-anonsurf.git
Cloning into 'kali-anonsurf'...
remote: Counting objects: 275, done.
remote: Total 275 (delta 0), reused 0 (delta 0), pack-reused 275
Receiving objects: 100% (275/275), 163.44 KiB | 75.00 KiB/s, done.
Resolving deltas: 100% (79/79), done.
Checking connectivity... done.
root@kali:~# cd kali-anonsurf/ 
root@kali:~# sudo ./installer.sh  #使用sudo 不然会有权限问题,要不就改权限

它还会将您的解析程序配置更改为以下内容:

root@kali:~# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 209.222.18.222
nameserver 209.222.18.218

如果您不喜欢使用专用Internet访问DNS,只需在/etc/init.d/anonsurf脚本中更改以下行中的DNS :

echo -e 'nameserver 127.0.0.1\nnameserver 209.222.18.222\nnameserver 209.222.18.218' > /etc/resolv.conf
echo -e " $GREEN*$BLUE Modified resolv.conf to use Tor and Private Internet Access DNS"

开始anonsurf

root@kali:~# anonsurf start
* killing dangerous applications
* cleaning some dangerous cache elements
[ i ] Stopping IPv6 services:
[ i ] Starting anonymous mode:
* Tor is not running! starting it for you
* Saved iptables rules
* Modified resolv.conf to use Tor and Private Internet Access DNS
* All traffic was redirected throught Tor
[ i ] You are under AnonSurf tunnel
root@kali:~#

找到您的新公共IP

root@kali:~# anonsurf myip
My ip is:
1xx.1xx.2xx.1xx

重启anonsurf

root@kali:~# anonsurf restart
* killing dangerous applications
* cleaning some dangerous cache elements
 [ i ] Stopping anonymous mode:
* Deleted all iptables rules
* Iptables rules restored
 [ i ] Reenabling IPv6 services:
* Anonymous mode stopped
* killing dangerous applications
* cleaning some dangerous cache elements
 [ i ] Stopping IPv6 services:
 [ i ] Starting anonymous mode:
* Tor is not running! starting it for you
* Saved iptables rules
* Modified resolv.conf to use Tor and Private Internet Access DNS
* All traffic was redirected throught Tor
 [ i ] You are under AnonSurf tunnel

停止anonsurf

root@kali:~# anonsurf stop
 * killing dangerous applications
 * cleaning some dangerous cache elements
[ i ] Stopping anonymous mode:
 * Deleted all iptables rules
 * Iptables rules restored
[ i ] Reenabling IPv6 services:
 * Anonymous mode stopped

测试匿名

检查是否泄漏了DNS。http://dnsleak.com/,https://www.perfect-privacy.com/和https://torguard.net/,

还可以在此处检查是否泄漏了IPv6:http://ipv6leak.com/。

小知识分享

使用OpenVPN,前提是你自己在VPS上搭建的服务,使用443端口可加快的你网络速度。

如果你配置成功,打开浏览器即可访问到deep web站点,这样以来你的所有流量都是通过tor访问互联网。你会发现,你使用kali linux中的工具是可以对.onion站点进行攻击。

你可能感兴趣的:(kaliTools)