This illustrates the use of TCPDUMB command
Tcpdump is a data-network packet analyzer computer program that runs under a command line interface. It allows the user to display TCP/IP and other packets being transmitted or received over a network to which the computer is attached.
- Ethernet
- ARP
- IPv6
- IPv4
- TCP
- UDP
- ICMP
Excute this program using WSL
- open WSL Terminal
- navigate to file path
- type the following command
python sniffer.py www.google.com
python sniffer.py 8.8.8.8
- open terminal
- navigate to file path
- type the following command
sudo python3 sniffer.py www.google.com
sudo python3 sniffer.py 8.8.8.8
- Run using SUDO privilege
- Run using Administration privilege