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

Was this helpful?

  1. IN-DEPTH
  2. Concepts

Exporters

... or how to export reports to different destinations.

secator exporters allow exporting reports at the end of the run.

To export results in real-time, see Drivers instead.

Available exporters out-of-the-box are:

  • txt: exports results as TXT file.

  • csv: exports results as CSV file.

  • json: exports results as JSON file.

  • gdrive: exports results to Google Drive. Set addons.google.credentials_path and addons.google.drive_parent_folder_id in your config for this exporter to work.

  • table: prints results as a table in the terminal.


Using exporters

To use exporters from the CLI, use the --output or -o flag:

secator x httpx mydomain.com -o txt
secator w host_recon mydomain.com -o gdrive,table
secator s url http://testphp.vulnweb.com -o csv,json

To use exporters from the library, you can pass the exporters kwarg to any runner:

from secator.workflows import host_recon

host = 'mydomain.com'
workflow = host_recon(host, exporters=['csv', 'json'])
workflow.run()

PreviousProxiesNextRunners

Last updated 27 days ago

Was this helpful?