在 Kali 下,实现将所有域名站点劫持到 Kali 本地的主页。
1 开启Apache服务
1 2 3 4
| # 启动Apache服务 /etc/init.d/apache2 start # 查看Apache服务状态 /etc/init.d/apache2 status
|
2 修改index主页
位置/var/www/html/index.html
3 修改DNS劫持文件
/etc/ettercap/etter.dns
4 打开ettercap
1 2 3 4 5 6 7 8 9
| sniff -> unified sniff
hosts -> scna for hosts -> add to Target
Mitm -> ARP Posining -> Sniff remote connections
plugin -> manage plugin 选中 dns spoof
star sniffing
|
劫持成功
