Secator docs
  • GETTING STARTED
    • Introduction
    • Installation
    • CLI Usage
    • Library usage
    • Configuration
    • Examples
      • 5 minutes secator session
  • RUNNER OPTIONS
    • Global options
    • Meta options
    • Input formats
    • Output options
  • IN-DEPTH
    • Philosophy & design
    • Distributed runs with Celery
    • Concepts
      • Output types
      • Proxies
      • Exporters
      • Runners
      • Drivers
      • Profiles
    • Deployment
  • For developers
    • Development setup
    • Writing tasks
      • Integrating an external command
        • Parsing JSON lines
        • Parsing raw standard output
        • Parsing output files
        • Example: integrating ls
        • Example: cat hunters
      • Integrate custom Python code [WIP]
      • Advanced options
    • Writing workflows
    • Writing scans [WIP]
Powered by GitBook
On this page
  • Console
  • JSON lines (-json)
  • Raw (-raw)
  • Custom format (-fmt)

Was this helpful?

  1. RUNNER OPTIONS

Output options

... or how to change secator's console output.

PreviousInput formatsNextPhilosophy & design

Last updated 7 months ago

Was this helpful?

secator is built to be flexible in terms of output options.


Console

The default secator output is the Output types repr function. It is supposed to be pretty and readable to quickly understand secator's findings:

Unicode icons are printed before each result to distinguish each output type:

When an output type has a low confidence, the output will be dimmed:


JSON lines (-json)

You can use -json to output live results as JSON lines:

secator x httpx example.com -json

JSON lines output is pipeable / streameable to other tools like jq.


Raw (-raw)

You can use -rawto output live results in plaintext format:

secator x httpx example.com -raw

Raw output is saveable to txt files or can be used for chaining tasks using UNIX pipes.


Custom format (-fmt)

You can use -fmtto output live results in a format of your choice:

secator x naabu example.com -fmt '{host}:{port} -> {service_name}'

Custom formatting is based on the Output types fields.


⍼ Exploit
💻 Ip
🔓 Port
🎤 Record
🏰 Subdomain
🏷️ Tag
🔗 Url
👤 UserAccount
🚨 Vulnerability
Console output