30 lines
628 B
YAML
30 lines
628 B
YAML
id: screenshot
|
|
|
|
info:
|
|
name: Headless Screenshotter
|
|
author: V0idC0de,righettod
|
|
severity: info
|
|
description: Takes a screenshot of the specified URLS.
|
|
tags: headless,screenshot
|
|
|
|
variables:
|
|
file: "{{url_encode(BaseURL)}}"
|
|
|
|
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}}"
|