Name:gowitness
Category:Discovery
Publisher:trickest
Created:6/23/2021
Container:quay.io/trickest/gowitness:v3.0.5
Output Type:
License:Unknown

Parameters

file
file
required
--fileA file with targets to scan
port
string
--portPorts on targets to scan. Supports multiple --port flags (default [80,443])
delay
string
--delayNumber of seconds delay between navigation and screenshotting (default 3)
quiet
boolean
--quietSilence (almost all) logging
driver
string
--driverThe scan driver to use. Can be one of [gorod, chromedp] (default chromedp)
no-http
boolean
--no-httpDo not add 'http://' to targets where missing
threads
string
--threadsNumber of concurrent threads (goroutines) to use (default 6)
timeout
string
--timeoutNumber of seconds before considering a page timed out (default 60)
no-https
boolean
--no-httpsDo not add 'https://' to targets where missing
write-db
boolean
--write-dbWrite results to a SQLite database
debug-log
boolean
--debug-logEnable debug logging
skip-html
boolean
--skip-htmlDon't include the first request's HTML response when writing results
write-csv
boolean
--write-csvWrite results as CSV (has limited columns)
javascript
string
--javascriptA JavaScript function to evaluate on every page, before a screenshot. Note: It must be a JavaScript function! e.g., () => console.log('gowitness');
uri-filter
string
--uri-filterValid URIs to pass to the scanning process (default [http,https])
write-none
boolean
--write-noneUse an empty writer to silence warnings
ports-large
boolean
--ports-largeInclude a large ports list when scanning targets
ports-small
boolean
--ports-smallInclude a small ports list when scanning targets
write-jsonl
boolean
--write-jsonlWrite results as JSON lines
chrome-proxy
string
--chrome-proxyAn HTTP/SOCKS5 proxy server to use. Specify the proxy using this format: proto://address:port
ports-medium
boolean
--ports-mediumInclude a medium ports list when scanning targets
save-content
boolean
--save-contentSave content from network requests to the configured writers. WARNING: This flag has the potential to make your storage explode in size
write-db-uri
string
--write-db-uriThe database URI to use. Supports SQLite, Postgres, and MySQL (e.g., postgres://user:pass@host:port/db) (default sqlite://gowitness.sqlite3)
write-stdout
boolean
--write-stdoutWrite successful results to stdout (usefull in a shell pipeline)
chrome-header
string
--chrome-headerExtra headers to add to requests. Supports multiple --header flags
chrome-wss-url
string
--chrome-wss-urlA websocket URL to connect to a remote, already running Chrome DevTools instance (i.e., Chrome started with --remote-debugging-port)
chrome-window-x
string
--chrome-window-xThe Chrome browser window width, in pixels (default 1920)
chrome-window-y
string
--chrome-window-yThe Chrome browser window height, in pixels (default 1080)
javascript-file
file
--javascript-fileA file containing a JavaScript function to evaluate on every page, before a screenshot. See --javascript
log-scan-errors
boolean
--log-scan-errorsLog scan errors (timeouts, DNS errors, etc.) to stderr (warning: can be verbose!)
screenshot-path
string
--screenshot-pathPath to store screenshots (default ./screenshots)
chrome-user-agent
string
--chrome-user-agentThe user-agent string to use (default Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36)
screenshot-format
string
--screenshot-formatFormat to save screenshots as. Valid formats are: jpeg, png (default jpeg)
write-screenshots
boolean
--write-screenshotsStore screenshots with writers in addition to filesystem storage
screenshot-fullpage
boolean
--screenshot-fullpageDo full-page screenshots, instead of just the viewport
screenshot-skip-save
boolean
--screenshot-skip-saveDo not save screenshots to the screenshot-path (useful together with --write-screenshots)
write-db-enable-debug
boolean
--write-db-enable-debugEnable database query debug logging (warning: verbose!)