Reading files from Scapy

 I was working on a script to find the Rouge DHCP and found a very interesting and awesome python module - named Scapy. I read the documentation from "Scapy.net" and found this tool awesome to work on packet level. 

Though it is little tough to understand packets but it is amazing. Well said someone "Everything is hard before it is easy."

Scapy is available for Linux/Windows/MacOS.

Link: https://scapy.readthedocs.io/en/latest/installation.html

I am trying scapy on windows bash( Windows 10 subsystem for Linux)

  • Install Scapy on your laptop

          Command: sudo apt get install scapy

  • Run scapy on the WSL/Linux machine.

          Command: sudo scapy.

    


  •  Create a variable and call the pcap file in the same with complete path. 

  •   To get a hold and broadly wanted to see the communication in packet.


      


  • We can check packet sequence and more from the command a.show().

 


Comments