nuclei-templates/headless/screenshot.yaml

30 lines
617 B
YAML
Raw Normal View History

2022-06-21 16:26:25 +00:00
id: screenshot
info:
name: Headless Screenshotter
author: V0idC0de,righettod
severity: info
description: Takes a screenshot of the specified URLS.
tags: headless,screenshot
variables:
file: "{{Hostname}}"
headless:
- steps:
- action: setheader
args:
part: request
key: "User-Agent"
value: "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0"
- action: navigate
args:
url: "{{BaseURL}}"
- action: waitload
- action: screenshot
args:
fullpage: true
to: "{{file}}"