Welcome to Adversarial Python: The Course
Lesson 1 — Rules of Engagement
Briefing
The one rule
What you should already know
Setting up the workstation
Optional: an LLM copilot
Build: the preflight check
Capture
Debrief
Quiz 1
1 attempt allowed
Lesson 2 — Building the Range
Briefing
Objective
Concepts
Architecture of Helix v1
The project layout
Build, part 1 — the services
Build, part 2 — the compose file
Build, part 3 — the orchestrator
Capture
Debrief
Quiz 2
1 attempt allowed
Lesson 3 — Passive Reconnaissance
Briefing
A note on “passive” in a homelab
Objective
Concepts
Range additions
Build 1 — DNS enumeration
Build 2 — certificate SAN harvesting
Build 3 — the dossier
Capture
Debrief
Quiz 3
1 attempt allowed
Lesson 4 — Active Reconnaissance & Scanning
Briefing
A note on “active” and noise
Objective
Concepts
Range additions
Build — the scanner and fingerprinter
Capture
Advanced (optional) — the SYN scan trade-off
AI Corner (optional)
Debrief
Quiz 4
1 attempt allowed
Lesson 5 — Mapping the Web Attack Surface
Briefing
Objective
Concepts
Range additions
Build 1 — the crawler
Build 2 — content discovery
Build 3 — parameter mining
Capture
Debrief
Quiz 5
1 attempt allowed
Lesson 6 — Vulnerability Discovery
Briefing
Objective
Concepts
Range additions
Build — the scanner
Capture
Triage: why the second probe matters
AI Corner (optional)
Debrief
Quiz 6
1 attempt allowed
Lesson 7 — Exploitation: The Web Foothold
Briefing
Objective
The kill chain
Concepts
Range additions
Build 1 — the SQLi data extractor
Build 2 — the foothold shell
Capture
Debrief
Quiz 7
1 attempt allowed
Lesson 8 — Exploiting the AI Layer
Briefing
Objective
A note on the backend
Concepts
Range additions
Build 1 — the prompt-injection fuzzer
Build 2 — RAG poisoning (indirect injection)
Build 3 — tool-call abuse
Capture
Debrief
Quiz 8
1 attempt allowed
Lesson 9 — Post-Exploitation
Briefing
Objective
Concepts
Why reverse, why encrypted
Range additions
Build 1 — the encrypted reverse shell
Build 2 — the polling tasker
Build 3 — living off the land
Capture
Path A: encrypted reverse shell
Path B: polling tasker
Living off the land
Debrief
Quiz 9
1 attempt allowed
Lesson 10 — Privilege Escalation
Briefing
Objective
Concepts
Range additions
Build 1 — the privilege-escalation enumerator
Build 2 — the SUID exploit
Build 3 — the Docker-socket escape
Capture
Debrief
Quiz 10
1 attempt allowed
Lesson 11 — Active Directory & Lateral Movement
Briefing
Objective
Concepts
Range additions
Build 1 — the AD enumerator
Build 2 — Kerberoasting
Build 3 — lateral movement via SMB
Capture
Step 1 — enumerate the domain
Step 2 — Kerberoast the service account
Step 3 — move laterally to the restricted share
Debrief
Quiz 11
1 attempt allowed
Lesson 12 — Actions on Objectives
Briefing
Objective
Concepts
Range additions
Build 1 — the data hunter
Build 2 — the DNS exfiltration channel
Capture
The hunt
The exfiltration
Debrief
Quiz 12
1 attempt allowed
Lesson 13 — Reporting
Briefing
Objective
Concepts
The findings database
Build — the report generator
Capture
Debrief
Closing
Quiz 13
1 attempt allowed
Adversarial Python: The Course
One target. Thirteen CTF style lessons. Every tool built from scratch. Helix Dynamics looks like any other small fintech — a web app, a Postgres backend, an Active Directory estate, and an AI assistant bolted on for support. It also happens to be running in your homelab, and it's yours to break.
Minimum price
$21.99
$32.99
You pay
Author earns
About
About the Course
Adversarial Python: The Course is the guided, lesson-by-lesson version of the book — same continuous engagement against Helix Dynamics, same from-scratch tooling, now structured as 13 CTF style lessons with knowledge checks after each one. You'll write a range orchestrator, async scanners, a web crawler and parameter miner, exploits that land your first shell, a prompt-injection fuzzer for the AI layer, post-exploitation tooling, an Active Directory attack toolkit, a covert exfil channel, and a report generator — capturing 18 flags and documenting 22 findings along the way. Pass every lesson's quiz to earn your completion certificate.
Instructor
About the Instructor
Andrew Ingram is a security professional with years of experience in banking IT and cybersecurity, spanning threat analysis, security operations, and security awareness — the hands-on, defense-minded approach that runs through this book.
Material
Course Material
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.