Files
nuclei-templates/http/token-spray/api-api2convert.yaml

43 lines
1.1 KiB
YAML
Raw Normal View History

2022-06-18 11:09:32 +07:00
id: api-api2convert
info:
name: Api2Convert API Test
author: daffainfo
severity: info
description: Online File Conversion API
2022-06-18 11:09:32 +07:00
reference:
- https://www.api2convert.com/docs/index.html
- https://github.com/daffainfo/all-about-apikey/tree/main/api2convert
metadata:
max-request: 1
2023-10-14 16:57:55 +05:30
tags: token-spray,api2convert
2022-06-18 11:09:32 +07:00
self-contained: true
2023-10-14 16:57:55 +05:30
http:
2022-06-18 11:09:32 +07:00
- raw:
- |
POST https://api.api2convert.com/v2/jobs HTTP/1.1
Host: api.api2convert.com
X-Oc-Api-Key: {{token}}
Content-Type: application/json
{
"input": [{
"type": "remote",
"source": "https://example-files.online-convert.com/raster%20image/jpg/example_small.jpg"
}],
"conversion": [{
"target": "png"
}]
}
matchers:
- type: word
part: body
words:
- '"id"'
- '"token"'
- '"type"'
condition: and
2024-12-01 13:57:55 +00:00
# digest: 4a0a004730450221009f6efd62b9dd6ac38dd5822dd39ba20c0954a26ce233db27be9d377471e8aaad022002b6ee82c31c36ee21b6e3d65179d0c30a8bf33fbb0889ca94b59016ece54371:922c64590222798bb761d5b6d8e72950