Home Page Icon
Home Page
Table of Contents for
Title Page
Close
Title Page
by
Black Hat Python, 2nd Edition
Praise for the First Edition
Title Page
Copyright
Dedication
About the Authors
Foreword
Preface
Acknowledgments
Chapter 1: Setting Up Your Python Environment
Installing Kali Linux
Setting Up Python 3
Installing an IDE
Code Hygiene
Chapter 2: Basic Networking Tools
Python Networking in a Paragraph
TCP Client
UDP Client
TCP Server
Replacing Netcat
Kicking the Tires
Building a TCP Proxy
Kicking the Tires
SSH with Paramiko
Kicking the Tires
SSH Tunneling
Kicking the Tires
Chapter 3: Writing a Sniffer
Building a UDP Host Discovery Tool
Packet Sniffing on Windows and Linux
Kicking the Tires
Decoding the IP Layer
The ctypes Module
The struct Module
Writing the IP Decoder
Kicking the Tires
Decoding ICMP
Kicking the Tires
Chapter 4: Owning the Network with Scapy
Stealing Email Credentials
Kicking the Tires
ARP Cache Poisoning with Scapy
Kicking the Tires
pcap Processing
Kicking the Tires
Chapter 5: Web Hackery
Using Web Libraries
The urllib2 Library for Python 2.x
The urllib Library for Python 3.x
The requests Library
The lxml and BeautifulSoup Packages
Mapping Open Source Web App Installations
Mapping the WordPress Framework
Testing the Live Target
Kicking the Tires
Brute-Forcing Directories and File Locations
Kicking the Tires
Brute-Forcing HTML Form Authentication
Kicking the Tires
Chapter 6: Extending Burp Proxy
Setting Up
Burp Fuzzing
Kicking the Tires
Using Bing for Burp
Kicking the Tires
Turning Website Content into Password Gold
Kicking the Tires
Chapter 7: GitHub Command and Control
Setting Up a GitHub Account
Creating Modules
Configuring the Trojan
Building a GitHub-Aware Trojan
Hacking Python’s import Functionality
Kicking the Tires
Chapter 8: Common Trojaning Tasks on Windows
Keylogging for Fun and Keystrokes
Kicking the Tires
Taking Screenshots
Pythonic Shellcode Execution
Kicking the Tires
Sandbox Detection
Chapter 9: Fun with Exfiltration
Encrypting and Decrypting Files
Email Exfiltration
File Transfer Exfiltration
Exfiltration via a Web Server
Putting It All Together
Kicking the Tires
Chapter 10: Windows Privilege Escalation
Installing the Prerequisites
Creating the Vulnerable BlackHat Service
Creating a Process Monitor
Process Monitoring with WMI
Kicking the Tires
Windows Token Privileges
Winning the Race
Kicking the Tires
Code Injection
Kicking the Tires
Chapter 11: Offensive Forensics
Installation
General Reconnaissance
User Reconnaissance
Vulnerability Reconnaissance
The volshell Interface
Custom Volatility Plug-Ins
Kicking the Tires
Onward!
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Praise for the First Edition
Next
Next Chapter
Copyright
Black Hat Python
2nd Edition
Python Programming for Hackers and Pentesters
by Justin Seitz and Tim Arnold
San Francisco
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset