Added headless screenshotter (#4495)
parent
04d2483031
commit
b8d0d57d69
|
@ -0,0 +1,29 @@
|
|||
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}}"
|
Loading…
Reference in New Issue