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
|
2024-01-04 06:27:45 +00:00
|
|
|
|
2022-06-21 16:26:25 +00:00
|
|
|
variables:
|
2023-03-22 19:04:20 +00:00
|
|
|
filename: '{{replace(BaseURL,"/","_")}}'
|
2023-03-22 18:47:37 +00:00
|
|
|
dir: "screenshots"
|
2023-12-12 23:25:50 +00:00
|
|
|
|
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}}"
|
2024-01-04 06:57:22 +00:00
|
|
|
# digest: 4a0a0047304502202e94bb4f26333b96b0b5f2a09120b689263d739676bafd999b1318bb9e8bcc06022100bbcc54afafcc8bc7d592f01439cfdddba54c245bf35081b3a00302bc2d6d6f1c:922c64590222798bb761d5b6d8e72950
|