Files
nuclei-templates/http/token-spray/api-tinypng.yaml
2024-12-01 13:57:55 +00:00

29 lines
705 B
YAML

id: api-tinypng
info:
name: TinyPNG API Test
author: zzeitlin
severity: info
reference:
- https://tinypng.com/developers
metadata:
max-request: 1
tags: token-spray,tinypng
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
# digest: 4a0a0047304502207362eb20ee2b06a66429952f2585e8a94361aedc76ab761cb5c3e8ec3b39144f022100a37d24a893862ab0334ee691908d9e247c4c59a6ae244b4de25f533a74397166:922c64590222798bb761d5b6d8e72950