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.
gowitness single -o /Content/screenshots/{{target}}/{{rootDomain}}/{{domain}}.png https://{{domain}}

Gowitness Script

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

Gowitness Dockerfile Entry

# -------- Agents dependencies --------
# To allow run gowitnessinside the docker
RUN apt-get update && apt-get install -y git wget
RUN wget
RUN tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz
RUN export GOPATH=$HOME/go
RUN export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
RUN GO111MODULE=on /usr/local/go/bin/go get -u
# -------- End Agents dependencies --------

Gowitness Command for Docker

mkdir -p /app/Content/screenshots/{{target}}/{{rootDomain}}/ && /root/go/bin/gowitness single -o /app/Content/screenshots/{{target}}/{{rootDomain}}/{{domain}}.png https://{{domain}}
Last modified 2yr ago