2022-06-21 16:26:25 +00:00
|
|
|
id: screenshot
|
|
|
|
|
|
|
|
info:
|
2023-03-22 18:47:37 +00:00
|
|
|
name: Headless Http Screenshot
|
|
|
|
author: V0idC0de,righettod,tarunKoyalwar
|
2022-06-21 16:26:25 +00:00
|
|
|
severity: info
|
|
|
|
description: Takes a screenshot of the specified URLS.
|
|
|
|
tags: headless,screenshot
|
|
|
|
variables:
|
2023-03-22 19:04:20 +00:00
|
|
|
filename: '{{replace(BaseURL,"/","_")}}'
|
2023-03-22 18:47:37 +00:00
|
|
|
dir: "screenshots"
|
2022-06-21 16:26:25 +00:00
|
|
|
headless:
|
|
|
|
- steps:
|
|
|
|
- action: setheader
|
|
|
|
args:
|
|
|
|
part: request
|
|
|
|
key: "User-Agent"
|
2023-03-22 18:47:37 +00:00
|
|
|
value: "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:111.0) Gecko/20100101 Firefox/111.0"
|
2022-06-21 16:26:25 +00:00
|
|
|
|
|
|
|
- action: navigate
|
|
|
|
args:
|
|
|
|
url: "{{BaseURL}}"
|
|
|
|
|
|
|
|
- action: waitload
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-06-21 16:26:25 +00:00
|
|
|
- action: screenshot
|
|
|
|
args:
|
2023-03-22 18:47:37 +00:00
|
|
|
fullpage: "true"
|
|
|
|
mkdir: "true"
|
2023-10-14 11:27:55 +00:00
|
|
|
to: "{{dir}}/{{filename}}"
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a0048304602210091c9beac07c9254df49005ea5694b15cfbeb5bb00c122273782a207dcb9a1819022100f3b0e99d774c680a7fdbbcc2a632b437b3bab3e21ca0387e010737b5b035c6c0:922c64590222798bb761d5b6d8e72950
|