Exporters
... or how to export reports to different destinations.
secator exporters allow exporting reports at the end of the run.
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. Setaddons.google.credentials_pathandaddons.google.drive_parent_folder_idin 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,jsonTo 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()Last updated
Was this helpful?