For the complete documentation index, see llms.txt. This page is also available as Markdown.

Global options

... or options that you can use in any context.

Global options apply to all runners (task, workflow, scan) and allow to control the overrall behaviour of the run.


Workspace (-ws)

You can pass a workspace name to use for the runner, which will save all reports to a subfolder named after the workspace.

Example: Save results to mydomain workspace
secator x httpx mydomain.com -ws mydomain
secator w host_recon mydomain.com -ws mydomain
secator s domain mydomain.com -ws mydomain

Output (-o)

You can export reports in various formats using built-in exporters.

Example: export reports as table, csv, and jsonformats
secator x httpx mydomain.com -o table,csv,json
secator w host_recon mydomain.com -o table,csv,json
secator s domain mydomain.com -o table,csv,json

Learn more about Exporters.


Drivers (-driver)

You can export live results to different targets using drivers.

To use drivers, make sure you install the corresponding addon using secator install addons <NAME>.

Example - export live results to MongoDB

First, install the mongodb addon using secator install addons mongodb

Then, use the -driver flag route your results:

Learn more about Drivers.


Profiles (-pf)

You can apply one or more Profiles (comma-separated) to set many options at once.

Example - run a polite, passive domain scan

Sync / worker mode (-sync, -np)

When a Celery worker is configured, runs are sent to workers by default. Use -sync to run locally instead, or -np (--no-poll) to send the run to workers without waiting for its results.

Example - send a scan to workers and return immediately

Inspect a runner (-dry, -tree, -yaml)

Show what a runner would do without running it:


Runtime stats and profiling (-stat, -pyinstrument, -memray)

-stat prints runtime statistics (CPU, memory) of the commands being run. -pyinstrument and -memray profile secator itself (install the trace addon first); results are saved to ~/.secator/performance.


Target scope (Python only)

Runners accept in_scope and out_of_scope options: allow / deny lists checked against the inputs of every runner, including targets discovered during a workflow or scan. Out-of-scope inputs are dropped with a warning. Entries can be IPs, CIDR ranges, exact hosts, wildcards (*.example.com matches sub-domains, not the apex) or regexes. Deny wins over allow, and an empty in_scope allows everything not denied. Non-network inputs (emails, usernames, paths) are never filtered.


Last updated