34 lines
752 B
YAML
34 lines
752 B
YAML
id: api-screenshotapi
|
|
|
|
info:
|
|
name: ScreenshotAPI API Test
|
|
author: daffainfo,geeknik
|
|
severity: info
|
|
description: Create pixel-perfect website screenshots
|
|
reference:
|
|
- https://docs.screenshotapi.net/?ref=webflow
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/screenshot-api
|
|
tags: token-spray,screenshotapi
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://shot.screenshotapi.net/screenshot?token={{token}}&url=https://example.com"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'screenshot'
|
|
- 'url'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 403
|
|
- 401
|
|
- 400
|
|
negative: true
|