Using the Scapy Framework

Scapy is powerful Python tool used to build and craft the packets then send them on the wire. You can build any type of network stream and send it on the wire. It can help you to test your network using different packet streams and manipulate the response returned from the source.

We will cover the following topics in this chapter:

  • Understanding the Scapy framework
  • Installing Scapy
  • Generating packets and network streams using Scapy
  • Capturing and replaying packets

Get Hands-On Enterprise Automation with Python. now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.