Gowitness
Gowitness Agent Setup for Screenshots

Gowitness Command

Using {{target}}, {{rootDomain}} and {{domain}} ReconNess replace {{target}} for the target name, {{rootDomain}} for the rootdomain name and {{domain}} for the subdomain.
1
gowitness single -o /Content/screenshots/{{target}}/{{rootDomain}}/{{domain}}.png https://{{domain}}
Copied!

Gowitness Script

1
return new ReconNess.Core.Models.ScriptOutput();
Copied!
Check the Readme on GitHub to know more about the Script.

Gowitness Dockerfile Entry

1
# -------- Agents dependencies --------
2
3
# To allow run gowitnessinside the docker
4
5
RUN apt-get update && apt-get install -y git wget
6
RUN wget https://golang.org/dl/go1.16.linux-amd64.tar.gz
7
RUN tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz
8
RUN export GOPATH=$HOME/go
9
RUN export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
10
RUN GO111MODULE=on /usr/local/go/bin/go get -u github.com/sensepost/gowitness
11
12
# -------- End Agents dependencies --------
Copied!

Gowitness Command for Docker

1
mkdir -p /app/Content/screenshots/{{target}}/{{rootDomain}}/ && /root/go/bin/gowitness single -o /app/Content/screenshots/{{target}}/{{rootDomain}}/{{domain}}.png https://{{domain}}
Copied!
Last modified 4mo ago