Summary
In this chapter, we ran through a crash course in Python for pen testers. We started with some basics about Python and picking your editor environment. Building on past programming experience and coverage in this book, we laid out code line by line for a few tools that could benefit a pen tester: a simple client, a simple server, and even a payload downloader that was almost completely undetectable by traditional antivirus. To wrap up the chapter, we explored low-level network manipulation with Scapy imported as a source library for our program.