32 lines
690 B
YAML
32 lines
690 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/'
|