Skip to content

Gowitness

Web screenshot tool using Chrome headless

Description

Gowitness is a website screenshot utility written in Go that uses Chrome Headless to generate screenshots of web interfaces. It supports bulk URL input and generates an interactive report.

Installation

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

Basic Usage

BASH
# Screenshot a single URL
gowitness single https://target.com

# Screenshot from a file
gowitness file -f urls.txt

Advanced Usage

BASH
# Custom screenshot size
gowitness single --resolution-x 1920 --resolution-y 1080 https://target.com

# Set delay
gowitness file -f urls.txt --delay 3

# Custom output directory
gowitness file -f urls.txt --screenshot-path ./screenshots/

# Generate report
gowitness report generate

# With proxy
gowitness single --proxy http://127.0.0.1:8080 https://target.com

Common Workflows

BASH
# Screenshot all alive hosts
subfinder -d target.com -silent | httpx -silent | gowitness file -f -

# Generate visual attack surface report
gowitness file -f alive.txt && gowitness report generate