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

29 lines
512 B
YAML
Raw Normal View History

2021-10-01 14:33:51 +00:00
id: api-tinypng
info:
name: TinyPNG API Test
author: zzeitlin
severity: info
reference:
- https://tinypng.com/developers
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,tinypng
2021-10-01 14:33:51 +00:00
2021-10-20 08:46:18 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-10-01 14:33:51 +00:00
- method: POST
path:
- "https://api.tinify.com/shrink"
2023-10-14 11:27:55 +00:00
2021-10-01 14:33:51 +00:00
headers:
Authorization: Basic {{base64('api:' + token)}}
matchers:
- type: word
part: header
words:
- 'Compression-Count'
- 'compression-count'
condition: or