> For the complete documentation index, see [llms.txt](https://cookiez.gitbook.io/red-team/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cookiez.gitbook.io/red-team/general/tools/gowitness.md).

# GoWitness

<https://github.com/sensepost/gowitness>. Captures screenshots of live hosts and displays them in a self-hosted web page.

{% stepper %}
{% step %}

### Install GoWitness

```
go install github.com/sensepost/gowitness@latest
```

{% endstep %}

{% step %}

### Run GoWitness against list of hosts

```
#Example host list
tesla.com
dev.tesla.com
```

Can also do IP, nmap scan, Nessus output, CIDR ranges.

```
gowitness scan file -f ~/file.txt --write-db
```

Screenshots will be saved to /Screenshots in the same directory, a file called gowitness.sqlite3 will be created

{% endstep %}

{% step %}

### View Results

Launch the GoWitness server in the same directory as your database file. If your screenshot folder is not in that directory you will have to specify it.

```
gowitness report server
```

Will open to 127.0.0.1:
{% endstep %}
{% endstepper %}
