mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
34 lines
826 B
YAML
34 lines
826 B
YAML
id: api-paypal
|
|
|
|
info:
|
|
name: PayPal API Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
reference:
|
|
- https://developer.paypal.com/docs/api/overview/
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,paypal
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api-m.sandbox.paypal.com/v1/identity/oauth2/userinfo?schema=paypalv1.1"
|
|
|
|
headers:
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{token}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: regex
|
|
negative: true
|
|
regex:
|
|
- "error(_description)?"
|
|
# digest: 4a0a004730450221009f47262342d2e2cfa296e71e496fd4f4a282f95e745c083dd0ae5f902e4a3e5102204b56ade37a5eca26e391e03e1f1d7452f461147f5e66df6aa9a6a7e9e9b95096:922c64590222798bb761d5b6d8e72950 |