Professional Documents
Culture Documents
Network Sniffing With Python
Network Sniffing With Python
Scapy makes it
possible to sniff all kinds of packages and use them in different ways. I wanted to sniff http
from my other windows computer so I needed to ARP spoof first. I created a ARP spoof
script that reroutes the traffic to me (as a router) also made with scapy.
I needed Ubuntu to accept the packages from other senders to that is the IP_forward
command.
This script will continuously send ARP packages with me as the router.
This URL sniffer script will filter every port 80 package (http package) and prints the
information if it contains a HTTP header.
I runned both my scripts and went to test.nl (test.nl isn’t a https so I can detect it)