Create api-pastebin.yaml

patch-1
Muhammad Daffa 2021-12-15 08:30:21 +07:00 committed by GitHub
parent d9ed21458f
commit 76d6aa3570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
id: api-pastebin
info:
name: Pastebin API Test
author: daffainfo
severity: info
reference:
- https://pastebin.com/doc_api
- https://github.com/daffainfo/all-about-apikey/blob/main/Cloud%20Storage%20-%20File%20Sharing/Pastebin.md
tags: token-spray,pastebin
self-contained: true
requests:
- 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/'
condition: and