Book Image

Python Penetration Testing Essentials - Second Edition

By : Mohit Raj
Book Image

Python Penetration Testing Essentials - Second Edition

By: Mohit Raj

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)

Introduction to 802.11 frames

802.11 and 802.11x are defined as a family of wireless LAN technologies by IEEE. The following are the 802.11 specifications based on frequency and bandwidth:

  • 802.11: This provides bandwidth up to 1-2 Mbps with a 2.4 GHz frequency band
  • 802.11.a: This provides bandwidth up to 54 Mbps with a 5 GHz frequency band
  • 802.11.b : This provides bandwidth up to 11 Mbps with a 2.4 GHz frequency band
  • 802.11g: This provides bandwidth up to 54 Mbps with a 2.4 GHz frequency band
  • 802.11n: This provides bandwidth up to 300 Mbps with both frequency bands

All components of 802.11 fall into either the Media Access Control (MAC) layer or the physical layer. The MAC layer is the subclass of the datalink layer. We have already covered the Protocol Data Unit (PDU) of the data link layer, which is called a frame, in Chapter 2, Scanning Pentesting.

First, however, let&apos...