DEV Community

Kai Dev
Kai Dev

Posted on

I Automate My Entire Pentest Recon With One Bash Script (Full Walkthrough)

Every engagement starts with the same 15 minutes of typing. So I deleted the typing.

My morning script does four things unattended:

  1. Subdomain enumeration with two sources cross-checked, deduped against last run's live list.
  2. HTTP probing with title, status, and tech-detection output into a single TSV.
  3. JS bundle download + endpoint regex extraction, so API surface is greppable before I open Burp.
  4. A diff report: what's NEW since yesterday. New endpoints are where bug bounty money actually lives, because nobody is looking at them yet.

The design principle: the script's output is a queue, not a dashboard. I never triage 400 subdomains; I look at the 3-7 that changed since yesterday.

I sell the script, the regex pack, and the 40-prompt report kit here: https://gumroad.com/l/prompt40 (same pack also on my Ko-fi if you prefer: https://ko-fi.com/kaidigitaltoolskaidigitaltools)

What does your recon diffing look like? Happy to trade regex.

Top comments (0)