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

31 lines
707 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
# digest: 4a0a00473045022100ef6a53ed8e8e82c579cd8cc388c347d57cc2911b4a12228bd92306c8cdb3a86402203320dd7e0be941832c019b41fdab5f42b938a5f1264f7435c1931ec2bea36d58:922c64590222798bb761d5b6d8e72950