# Output options

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

***

### Console

The default `secator` output is the [output-types](https://docs.freelabz.com/in-depth/concepts/output-types "mention") `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&#x26;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:

* [#exploit](https://docs.freelabz.com/in-depth/concepts/output-types#exploit "mention")
* [#ip](https://docs.freelabz.com/in-depth/concepts/output-types#ip "mention")
* [#port](https://docs.freelabz.com/in-depth/concepts/output-types#port "mention")
* [#record](https://docs.freelabz.com/in-depth/concepts/output-types#record "mention")
* [#subdomain](https://docs.freelabz.com/in-depth/concepts/output-types#subdomain "mention")
* [#tag](https://docs.freelabz.com/in-depth/concepts/output-types#tag "mention")
* [#url](https://docs.freelabz.com/in-depth/concepts/output-types#url "mention")
* [#useraccount](https://docs.freelabz.com/in-depth/concepts/output-types#useraccount "mention")
* [#vulnerability](https://docs.freelabz.com/in-depth/concepts/output-types#vulnerability "mention")

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&#x26;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](https://docs.freelabz.com/in-depth/concepts/output-types "mention") fields.
{% endhint %}

***
