4 Owning the Network with Scapy
Occasionally, you run into such a well-thought-out, amazing Python library that even dedicating a whole chapter to it can’t do it justice. Philippe Biondi has created such a library in the packet manipulation library Scapy. You just might finish this chapter and realize we made you do a lot of work in the previous two chapters to accomplish what you could have done with just one or two lines of Scapy.
Scapy is powerful and flexible, and its possibilities are almost infinite. We’ll get a taste of things by sniffing traffic to steal plaintext email credentials and then ARP poisoning a target machine on the ...
Get Black Hat Python, 2nd Edition 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.