> For the complete documentation index, see [llms.txt](https://docs.freelabz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.freelabz.com/runner-options/output-options.md).

# Output options

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

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

***

### Console

The default `secator` output is the [Output types](/in-depth/concepts/output-types.md) `repr` function. It is supposed to be pretty and readable to quickly understand `secator`'s findings:

<div align="left"><figure><img src="https://3064929067-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F787L9q3BUjAZ71WVY90V%2Fuploads%2F4oGXN98frKKxJSt8g8aM%2F2023-07-05%2015_47_29-%E2%97%8F%20%F0%9F%94%93%20mydomain.com_554%20%E2%80%A2%20Untitled-1%20-%20Untitled%20(Workspace)%20-%20Visual%20Studio%20Code.png?alt=media&amp;token=bca89978-6d09-4845-8b32-579a33af46eb" alt=""><figcaption><p>Console output</p></figcaption></figure></div>

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

* [Output types](/in-depth/concepts/output-types.md#exploit)
* [Output types](/in-depth/concepts/output-types.md#ip)
* [Output types](/in-depth/concepts/output-types.md#port)
* [Output types](/in-depth/concepts/output-types.md#record)
* [Output types](/in-depth/concepts/output-types.md#subdomain)
* [Output types](/in-depth/concepts/output-types.md#tag)
* [Output types](/in-depth/concepts/output-types.md#url)
* [Output types](/in-depth/concepts/output-types.md#useraccount)
* [Output types](/in-depth/concepts/output-types.md#vulnerability)

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

<div align="left" data-full-width="false"><figure><img src="https://3064929067-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F787L9q3BUjAZ71WVY90V%2Fuploads%2FztkeQidpB8jS66NodqnS%2Fvuln_dimmed.png?alt=media&amp;token=f79373e7-622b-462f-98af-b91962921161" alt=""><figcaption></figcaption></figure></div>

***

### JSON lines (`-json`)

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

```bash
secator x httpx example.com -json
```

{% hint style="info" %}
JSON lines output is pipeable / streameable to other tools like `jq`.
{% endhint %}

***

### Raw (`-raw`)

You can use `-raw`to output live results in plaintext format:

```
secator x httpx example.com -raw
```

{% hint style="info" %}
Raw output is saveable to txt files or can be used for chaining tasks using UNIX pipes.
{% endhint %}

***

### Custom format (`-fmt`)

You can use `-fmt`to output live results in a format of your choice:

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

{% hint style="info" %}
Custom formatting is based on the [Output types](/in-depth/concepts/output-types.md) fields.
{% endhint %}

***
