nuclei-templates/token-spray/tinypng.yaml

24 lines
457 B
YAML

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