Black Hat Python: Python Programming for Hackers and Pentesters

Black Hat Python: Python Programming for Hackers and Pentesters

Programming 3 views 0 downloads 2014
Published 2014
Language English
Publisher No Starch Press
'Black Hat Python- Python Programming for Hackers and -- Justin Seitz; Tim Arnold, informaticien) --' reveals how to harness the speed, versatility, and elegance of Python to build custom offensive security tools and exploitation scripts. Written for security practitioners and ethical hackers, this practical manual transforms theoretical offensive concepts into working weaponized tools.

Readers learn to construct raw packet sniffers with Scapy, build custom Burp Suite extensions, deploy stealthy command-and-control (C2) architectures, manipulate Windows process tokens, escalate privileges, inject code, and automate forensic memory analysis using Volatility. Every chapter features production-ready Python code.

An indispensable guide for red teamers, penetration testers, and offensive researchers who want to write their own custom hacking toolsets.
Contents at a Glance
Chapter 1: Setting Up Your Python Pentesting Environment
Chapter 2: Networking Fundamentals: TCP/UDP Clients, Servers, and Netcat
Chapter 3: Raw Sockets and Packet Sniffing on Windows & Linux
Chapter 4: Owning the Network with Scapy: ARP Poisoning and PCAP Analysis
Chapter 5: Web Hackery: Web App Mapping, Brute Forcing, and Burp Suite Extensions
Chapter 6: Extending Burp Suite with Python Extensions
Chapter 7: GitHub-Based Command and Control (C2) Architecture
Chapter 8: Common Trojan Tasks: Keyloggers, Screenshotting, and Shellcode Execution
Chapter 9: Interacting with Windows API and Process Token Manipulation
Chapter 10: Windows Privilege Escalation and Process Injection
Chapter 11: Offensive Forensics: Memory Analysis with Volatility
Chapter 12: Automating Post-Exploitation and Exfiltration
Index & Further Reading