Yes, "Black Hat Python" does contain extensive information on web application security reconnaissance. This topic is primarily covered in Chapter 5: Web Hackery and Chapter 6: Extending Burp Proxy of the book.
Web Application Security Reconnaissance Coverage
Chapter 5: Web Hackery focuses on the following web application reconnaissance techniques:
- Web scraping and crawling using Python libraries like BeautifulSoup and requests[6][7]
- Creating custom tools for reconnaissance and vulnerability discovery[1]
- Developing web path scanners (including specialized ones like Joomla site crawlers)[7]
- Building directory and file bruteforcers to discover hidden content[7]
- Implementing multi-threaded brute-force login scripts for testing authentication mechanisms[7]
- Crafting tools for WordPress login page brute-force attacks[7]
- Developing Python scripts to test for SQL injection vulnerabilities[7]
Chapter 6: Extending Burp Proxy covers:
- Extending the popular Burp Suite web application security testing tool with Python[2][3]
- Creating Burp Suite Intruder payload generators using Python extensions[9]
- Developing custom Burp Suite extensions like BHP Wordlist (with Bing Search Integration)[9]
- Building wordlist generators integrated with Burp Suite for more effective reconnaissance[9]
The book also teaches practical Python techniques for:
- Sending HTTP requests and parsing responses[6]
- Analyzing and manipulating web traffic[6]
- Detecting various web vulnerabilities through automated scanning[6]
- Using libraries like requests, BeautifulSoup, and others for efficient web reconnaissance[6][7]
- Implementing techniques for bypassing common web security measures[3]
Throughout these chapters, Justin Seitz (and Tim Arnold in the 2nd edition) provide practical code examples and explanations of how to use Python for effective web application security testing, with a focus on the reconnaissance phase of penetration testing.