Automation library · AI assistants

Subdomain enumeration with Subfinder and HTTPX

Started by another system calling it. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 34 steps, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

34 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
2Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 2Model 1Logic 18Service 13

The steps in the order they run, from what starts it.

  1. 1WebhookWebhookStarts it
  2. 2TXT to JSONExtract From FileService
  3. 3Prettify File ContentCodeLogic
  4. 4Loop Over DomainsSplit In BatchesLogic
  5. 5Append all Loop ItemsCodeLogic
  6. 6crt.shHttp RequestService
  7. 7WayBack MachineHttp RequestService
  8. 8SSH AssetfinderSshService
  9. 9SSH SubfinderSshService
  10. 10Subdomain Format ValidationCodeLogic
  11. 11SummarizeSummarizeService
  12. 12Filter Subdomains WayBack MachineCodeLogic
  13. 13Filter Subdomains AssetfinderCodeLogic
  14. 14Filter Subdomains SubfinderCodeLogic
  15. 15Convert Subdomains to TXTConvert To FileService
  16. 16Rename crt.sh ContentSetLogic
  17. 17Merge all ResultsMergeLogic
  18. 18SSH create subdomains.txt into /tmp/reconAISshService
  19. 19Unique SubdomainsCodeLogic
  20. 20SSH HTTPXSshService
  21. 21Rename Passive ResultsSetLogic
  22. 22Split HTTPX Results (400 Items max)CodeLogic
  23. 23Merge AI & Passive ResultsMergeLogic
  24. 24Loop Over 30 SubdomainsSplit In BatchesLogic
  25. 25Prettify ResultsCodeLogic
  26. 26Split AI ResponseSplit OutLogic
  27. 27Append 30 SubdomainsSummarizeService
  28. 28Respond to WebhookRespond To WebhookStarts it
  29. 29AI Subdomain Format ValidationCodeLogic
  30. 30Subdomain Generator AIOpen AiModel
  31. 31AI Convert Subdomains to TXTConvert To FileService
  32. 32AI SSH create subdomains.txt into /tmp/reconAISshService
  33. 33AI SSH HTTPXSshService
  34. 34Rename AI ResultsSetLogic

How it's built

Starts on
Another system calling it
Steps
34, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Nothing by connector; it calls services over plain HTTP
Model
OpenAI

Questions

What does it need to run?

An n8n account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 34 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 34 steps before you point it at anything that matters.