# Analysis of Black Hat Python: Python Programming for Hackers and Pentesters

> Episode of [Curiosophy: A Future Forward Cast.](https://podistic.com/podcast/curiosophy-a-future-forward-cast.md) · Published February 15, 2025 · Duration 27:08

- **Listen on Podistic:** https://podistic.com/episode/analysis-of-black-hat-python-python-programming-for-hackers-and-pentesters
- **Audio:** https://anchor.fm/s/fd303b78/podcast/play/96988917/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2025-0-13%2F392996534-44100-2-d5bb7f3602309.m4a (audio/x-m4a)

## About this episode

When it comes to creating powerful and effective hacking tools, Python is the language of choice for most security analysts. In this second edition of the bestselling [*Black Hat Python*,](https://www.amazon.com/Black-Hat-Python-2nd-Programming/dp/1718501129?crid=1YZ4CN6C3QWE5\&dib=eyJ2IjoiMSJ9.grcrkSVBpGVcrGl48KQ674OahbgZiHx2WyMJcWiAKZCe5AIb3LiREvUw_NAk-B5A.ZywirbVfkdvI34LMpWG7OXLN0zkFeNLSKZET5JHUAe4\&dib_tag=se\&keywords=blackhat+python+2nd+edition\&qid=1739585598\&sprefix=Blackhat+Python+%2Caps%2C262\&sr=8-1) you’ll explore the darker side of Python’s capabilities: everything from writing network sniffers, stealing email credentials, and bruteforcing directories to crafting mutation fuzzers, investigating virtual machines, and creating stealthy trojans.  
All of the code in this edition has been updated to **Python 3.x**. You’ll also find new coverage of bit shifting, code hygiene, and offensive forensics with the Volatility Framework as well as expanded explanations of the Python libraries ctypes, struct, lxml, and BeautifulSoup, and offensive hacking strategies like splitting bytes, leveraging computer vision libraries, and scraping websites.
