2022-07-25 06:05:11 +00:00
|
|
|
id: api-abstract-website-screenshot
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Abstract Api Website Screenshot Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
|
|
|
description: Transform any URL into an image with Abstract's Website Screenshot API
|
|
|
|
reference:
|
|
|
|
- https://www.abstractapi.com/api/website-screenshot-api
|
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-website-screenshot
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,abstractapi
|
2022-07-25 06:05:11 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-25 06:05:11 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://screenshot.abstractapi.com/v1/?api_key={{token}}&url=https://test.test"
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"code":"validation_error"'
|
|
|
|
- 'Reached error page'
|
2023-10-14 11:27:55 +00:00
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100db8ffedc82ceed3165a9935d94b47b7fd1bdfd2a219d03a563a2bf6f82856a0002202e0a9484e954b9d78c96c9ef18a194e75134384a7306354d87f767486946e7e7:922c64590222798bb761d5b6d8e72950
|