1,確定局域網iphtml
2,修改/etc/ettercap/etter.dns 添加本身的ip和劫持域名apache
3,/var/www/index.html (修改html页面替换被劫持的网站页面)服务器
4,啓動apache2 /etc/init.d/apache2 start 启动apache服务器网站
5,ettercap -G htm
選擇plugins >dns_spoofblog
Mitm >arp >sniff (arp欺骗,不要忘了添加你要攻击的目标ip)dns