From the course: Complete Guide to Cybersecurity: A Practical Approach

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Crafting packets with Scapy to perform reconnaissance

Crafting packets with Scapy to perform reconnaissance

From the course: Complete Guide to Cybersecurity: A Practical Approach

Crafting packets with Scapy to perform reconnaissance

- So in this section, I'm going to go over one of my favorite Python libraries that you can use for many different things, not only for ethical hacking, also in the defensive side of security, as well as just basic troubleshooting and that is Scapy. Scapy is basically a library that allows you to construct any type of packets that you may have available. This is the interactive shell of Scapy, but of course the way that you use it is they basically importing it to a Python script. And we're going to go over a couple of examples of that and how to even create your own scanner and many other use cases that I have in my GitHub repository. But within Scapy, you can actually use the LS function, and I had a typo in there. And this function will display all the different packet types and all the different classes that are available within Scapy to construct different packets. Like you know, you saw in their SNMP packets there were X.25 packets or X radius packets, for example, in here and…

Contents