Jump to ratings and reviews
Rate this book

Python Penetration Testing Cookbook: Practical recipes on implementing information gathering, network security, intrusion detection, and post-exploitation

Rate this book
Over 50 hands-on recipes to help you pen test networks using Python, discover vulnerabilities, and find a recovery path

Key FeaturesDetect and avoid various types of attack that put system privacy at riskImprove your knowledge of wireless application concepts and information gathering through practical recipesDiscover a pragmatic way to pen test using Python, build efficient code, and save timeBook DescriptionPenetration testing is the use of tools and code to attack a system to assess its vulnerabilities to external threats. Python allows pen testers to create their own tools. Since Python is a highly valued pen-testing language, many native libraries and Python bindings are available specifically for pen-testing tasks.

This penetration testing book begins by teaching you how to extract information from web pages. You'll learn how to build a network intrusion detection system using network sniffing techniques. Next, you'll find out how to scan your networks to ensure performance and quality, and how to perform wireless pen testing on your network to avoid cyberattacks. After that, we'll discuss the different kinds of network attacks, before getting to grips with designing your own torrent detection program. As you advance, we'll take you through common vulnerability scenarios, and cover buffer overflow exploitation which will enable you to detect insecure coding.

Finally, you'll master portable executable (PE) code injection methods to safeguard your network.

By the end of this book, you'll have mastered how to use tools and libraries to aid your daily work and found out pragmatic ways of pen testing using Python to build efficient code and save time.

What you will learnConfigure Python in different environmental setupsFind an IP address from a web page using BeautifulSoup and ScrapyDiscover different types of packet sniffing scripts to sniff network packetsBecome proficient in layer 2 and transmission control protocol/internet protocol (TCP/IP) attacksMaster techniques for Windows and Linux exploit development Incorporate various network- and packet-sniffing techniques using Raw sockets and ScrapyWho this book is forIf you are a developer with some knowledge of using Python for penetration testing, and would like an overview of scripting tasks to consider while penetration testing, this book will provide you with useful code snippets for your toolkit.

Table of ContentsWhy Python in Penetration TestingSetting Up a Python EnvironmentWeb Scraping with PythonData Parsing with PythonWeb Scraping with Scrapy and BeautifulSoupNetwork Scanning with PythonNetwork Sniffing with PythonScapy BasicsWi-Fi SniffingLayer 2 AttacksTCP/IP AttacksIntroduction to Exploit DevelopmentWindows Exploit DevelopmentLinux Exploit Development

419 pages, Kindle Edition

Published November 28, 2017

10 people are currently reading
11 people want to read

About the author

Rejah Rehim

5 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (50%)
4 stars
0 (0%)
3 stars
1 (50%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Hadiana Sliwa.
68 reviews8 followers
July 10, 2021
Very brief explanation of concepts, most of them weren't understandable.
Couldn't follow most of concepts using my mac.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.