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

30 lines
876 B
YAML

id: api-pdflayer
info:
name: pdflayer API Test
author: daffainfo
severity: info
description: HTML/URL to PDF
reference:
- https://pdflayer.com/documentation
- https://github.com/daffainfo/all-about-apikey/tree/main/pdflayer
metadata:
max-request: 1
tags: token-spray,pdflayer
self-contained: true
http:
- raw:
- |
GET https://api.pdflayer.com/api/convert?access_key={{token}}&document_url=https://test.test HTTP/1.1
Host: api.pdflayer.com
matchers:
- type: word
part: body
words:
- '"document_url_not_found"'
- '"The document URL you specified was not found.'
condition: and
# digest: 4a0a0047304502204ade99fe091f85a2becd8d2b13e6d0418abfd956b8f5678cb5c932ab264729de022100d5d63b3bee3018f2deeb5ec73965ac70482ce49354e83494c274bb063a8e07a1:922c64590222798bb761d5b6d8e72950