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

34 lines
947 B
YAML
Raw Permalink Normal View History

2022-07-22 11:32:46 +00:00
id: api-craftmypdf
info:
name: CraftMyPDF API Test
author: daffainfo
severity: info
description: Generate PDF documents from templates with a drop-and-drop editor and a simple API
2022-07-22 11:32:46 +00:00
reference:
- https://pdflayer.com/documentation
- https://github.com/daffainfo/all-about-apikey/tree/main/craftmypdf
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,craftmypdf
2022-07-22 11:32:46 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2022-07-22 11:32:46 +00:00
- raw:
- |
GET https://api.craftmypdf.com/v1/list-templates?limit=300&offset=0 HTTP/1.1
Host: api.craftmypdf.com
Content-Type: application/json
X-API-KEY: {{token}}
matchers:
- type: word
part: body
words:
- '"template_id":'
- '"name":'
condition: and
# digest: 490a004630440220540310182df1fafcfa289b4e06a781a5f2285de23503fdc711783f1ea613994a0220403015028df606a19c774b161958bc222da7e77cde74276356593af1219f1f43:922c64590222798bb761d5b6d8e72950