nuclei-templates/http/token-spray/api-tinypng.yaml

28 lines
511 B
YAML

id: api-tinypng
info:
name: TinyPNG API Test
author: zzeitlin
severity: info
reference:
- https://tinypng.com/developers
tags: token-spray,tinypng
metadata:
max-request: 1
self-contained: true
http:
- method: POST
path:
- "https://api.tinify.com/shrink"
headers:
Authorization: Basic {{base64('api:' + token)}}
matchers:
- type: word
part: header
words:
- 'Compression-Count'
- 'compression-count'
condition: or