Input formats

... or how to pass targets to secator.

secator is built to be flexible in terms of input formats.


Direct input

Inputs can be passed directly as an argument to the command / workflow / scan you wish to run:

secator x httpx example.com # single input
secator x httpx example.com,example2.com,example3.com # multiple comma-separated inputs

File input

Input can also be passed from a file containing one item per line:

secator x httpx urls.txt

Stdin input

Input can also be passed directly from stdin:

cat urls.txt | secator x httpx

You can build basic workflow using UNIX pipes:

secator x subfinder vulnweb.com | secator x nmap | secator x httpx

For more complex workflows, we highly recommend using the YAML-based workflow definitions or the code-based workflow definitions (see Writing workflows).


Last updated