Scapy forwarding packages
问题 I'm just learning python with scapy. I read and use the book "Network Hacks - Intensivkurs - Angriff und Verteidigung mit Python" (German). I would like to try a man in the middle attack by using arp-spoofing. I have My Computer, the victim (my raspberry pi) and the standard gateway. To spoofing, i use a code snippet from the book #!/usr/bin/python import sys import time from scapy.all import sniff, sendp, ARP, Ether if len(sys.argv) < 3: print sys.argv[0] + " <target> <spoof_ip>" sys.exit(0)