You don't need to own a Kindle device to enjoy Kindle books. Download one of our FREE Kindle apps to start reading Kindle books on all your devices.

  • Apple
  • Android
  • Windows Phone
    Windows Phone
  • Click here to download from Amazon appstore

To get the free app, enter your mobile phone number.


Buying Options

Kindle Price: $30.02
includes tax, if applicable

These promotions will be applied to this item:

Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.

Deliver to your Kindle or other device

Deliver to your Kindle or other device

Python Penetration Testing Cookbook: Practical recipes on implementing information gathering, network security, intrusion detection, and post-exploitation by [Rehim, Rejah]
Kindle App Ad

Follow the Author

Something went wrong. Please try your request again later.

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

See all 2 formats and editions Hide other formats and editions
Amazon Price
New from Used from

Length: 228 pages Enhanced Typesetting: Enabled Page Flip: Enabled
Language: English
  • Due to its large file size, this book may take longer to download

Get 90 days FREE of Amazon Music Unlimited
with the purchase of any eligible product. Shop now

Product description

Product Description

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

Key Features

  • Learn to detect and avoid various types of attack that put system privacy at risk
  • Enhance your knowledge of wireless application concepts and information gathering through practical recipes
  • Learn a pragmatic way to penetration-test using Python, build efficient code, and save time

Book Description

Penetration testing is the use of tools and code to attack a system in order 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, there are many native libraries and Python bindings available specifically for pen-testing tasks.

Python Penetration Testing Cookbook begins by teaching you how to extract information from web pages. You will learn how to build an intrusion detection system using network sniffing techniques. Next, you will find out how to scan your networks to ensure performance and quality, and how to carry out wireless pen testing on your network to avoid cyber attacks. After that, we’ll discuss the different kinds of network attack. Next, you’ll get to grips with designing your own torrent detection program. We’ll take you through common vulnerability scenarios and then cover buffer overflow exploitation so you can detect insecure coding. Finally, you’ll master PE code injection methods to safeguard your network.

What you will learn

  • Learn to configure Python in different environment setups.
  • Find an IP address from a web page using BeautifulSoup and Scrapy
  • Discover different types of packet sniffing script to sniff network packets
  • Master layer-2 and TCP/ IP attacks
  • Master techniques for exploit development for Windows and Linux
  • Incorporate various network- and packet-sniffing techniques using Raw sockets and Scrapy

Table of Contents

  1. Why Python in Penetration Testing
  2. Setting Up a Python Environment
  3. Web Scraping with Python
  4. Data Parsing with Python
  5. Web Scraping with Scrapy and BeautifulSoup
  6. Network Scanning with Python
  7. Network Sniffing with Python
  8. Scapy Basics
  9. Wi-Fi Sniffing
  10. Layer 2 Attacks
  11. TCP/IP Attacks
  12. Introduction to Exploit Development
  13. Windows Exploit Development
  14. Linux Exploit Development

About the Author

Rejah Rehim is currently the Director and Chief Information Officer (CIO) of Appfabs. Previously holding the title of Security Architect at FAYA India, he is a long-time preacher of open source.

He is a steady contributor to the Mozilla Foundation and his name has been added to the San Francisco Firefox Monument. A member of the Mozilla add-ons review board, he has contributed to the development of several node modules. He is credited with the creation of nine Mozilla add-ons, including the very popular Clear Console add-on, which was selected as one of the best Mozilla add-ons of 2013. With a user base of more than 44,000, it has seen more than 800,000 downloads to date. He has successfully created the world's first security testing browser bundle, PenQ, an open source Linux-based penetration testing browser bundle preconfigured with tools for spidering, advanced web searching, fingerprinting, and so on.

Rejah is also an active member of OWASP and the chapter leader of OWASP Kerala. He is also an active speaker at FAYA:80, a tech community based in Kerala, with the mission of free knowledge sharing. Besides being a part of the cyber security division of FAYA, Rejah is also a student of process automation and has implemented it in FAYA.

Additionally, Rejah also holds the title of commander at Cyberdome, an initiative of the Kerala Police Department.

Product details

  • Format: Kindle Edition
  • File Size: 33430 KB
  • Print Length: 228 pages
  • Page Numbers Source ISBN: 1784399779
  • Publisher: Packt Publishing; 1 edition (28 November 2017)
  • Sold by: Amazon Australia Services, Inc.
  • Language: English
  • ASIN: B01BGV253Q
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Screen Reader: Supported
  • Enhanced Typesetting: Enabled
  • Average Customer Review: Be the first to review this item
  • Amazon Bestsellers Rank: #600,628 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
click to open popover

No customer reviews

Review this product

Share your thoughts with other customers

Most helpful customer reviews on 5.0 out of 5 stars 1 reviews
5.0 out of 5 starsExcellent!
21 December 2017 - Published on