nuclei-templates/apis/tinypng.yaml

24 lines
449 B
YAML

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