Background
This project was created for a cybersecurity programming course that primarily used python.
A teamate and I collaborated to create a packet sniffer that could capture and analyze packets on a network.
We used the socket
module to capture packets and the struct
module to parse the packets.
PACKET SNIFFER
sniffing packets
Ethernet Frame:
Destination: ff:ff:ff:ff:ff:ff, Source: aa:bb:cc:dd:ee:ff, Protocol: 8
- IPv4 Packet:
- Protocol: 6, Source: 192.168.1.100, Target: 192.168.1.1
Ethernet Frame:
Destination: aa:bb:cc:dd:ee:ff, Source: ff:ff:ff:ff:ff:ff, Protocol: 8
- IPv4 Packet:
- Protocol: 17, Source: 192.168.1.1, Target: 192.168.1.100