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

34 lines
887 B
YAML

id: api-pastebin
info:
name: Pastebin API Test
author: daffainfo
severity: info
description: Plain Text Storage
reference:
- https://pastebin.com/doc_api
- https://github.com/daffainfo/all-about-apikey/tree/main/pastebin
metadata:
max-request: 1
tags: token-spray,pastebin
self-contained: true
http:
- raw:
- |
POST https://pastebin.com/api/api_post.php HTTP/1.1
Host: pastebin.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 81
api_dev_key={{token}}&api_paste_code=test&api_option=paste
matchers:
- type: word
part: body
words:
- 'https://pastebin.com/'
# digest: 4b0a00483046022100eac9e0b97c3915c66cda23bbd328df846b9621894c0963d6062014c114dcef660221008fd9e82eabfc93bc07c39c981b6c8cdf815eb65b00212b1ceaefdb29cb3eabdb:922c64590222798bb761d5b6d8e72950