In this chapter, we learned about network attacks; the DHCP starvation attack can be performed efficiently by using our Python code. The Python code can be used for illegal DHCP servers. The MAC flooding attack can turn a switch into a hub. Port security must be enabled to mitigate the attack. The gateway disassociation attack is very easy to perform; the attacker can annoy a user by using this attack. The static entries of the gateway in the ARP cache can be a possible solution for the attack. Although torrenting is banned, it is still a big problem for small organizations. The solution presented in this chapter can be very effective against the torrenting. In next chapter, you will learn about the wireless traffic monitoring. You will learn Wireless frame, capturing of frames and Wireless attacks.

Python Penetration Testing Essentials
By :

Python Penetration Testing Essentials
By:
Overview of this book
This book gives you the skills you need to use Python for penetration testing (pentesting), with the help of detailed code examples.
We start by exploring the basics of networking with Python and then proceed to network hacking. Then, you will delve into exploring Python libraries to perform various types of pentesting and ethical hacking techniques. Next, we delve into hacking the application layer, where we start by gathering information from a website. We then move on to concepts related to website hacking—such as parameter tampering, DDoS, XSS, and SQL injection.
By reading this book, you will learn different techniques and methodologies that will familiarize you with Python pentesting techniques, how to protect yourself, and how to create automated programs to find the admin console, SQL injection, and XSS attacks.
Table of Contents (11 chapters)
Preface
Python with Penetration Testing and Networking
Scanning Pentesting
Sniffing and Penetration Testing
Network Attacks and Prevention
Wireless Pentesting
Honeypot – Building Traps for Attackers
Foot Printing a Web Server and a Web Application
Client-Side and DDoS Attacks
Pentesting SQL and XSS
Other Books You May Enjoy
How would like to rate this book
Customer Reviews