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

25 lines
478 B
YAML

id: api-tinypng
info:
name: TinyPNG API Test
author: zzeitlin
reference: https://tinypng.com/developers
severity: info
tags: token-spray,tinypng
self-contained: true
requests:
- 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