Skip to content

Stripe API Test

ID: api-stripe

Severity: info

Author: zzeitlin

Tags: token-spray,stripe

id: api-stripe
info:
name: Stripe API Test
author: zzeitlin
severity: info
reference:
- https://stripe.com/docs/api/authentication
metadata:
max-request: 1
tags: token-spray,stripe
self-contained: true
http:
- method: GET
path:
- "https://api.stripe.com/v1/charges"
headers:
Authorization: Basic {{base64(token + ':')}}
matchers:
- type: word
part: body
words:
- '"object":'
- '"url":'
- '"data":'
condition: and
# digest: 490a0046304402202757c66d5ccb2ddb64c5cf4cbaec588b5928b479f75705307d61f6ed28f4913b02205ae69593cab78d32b38c6c2453e757acbc55f272938434d3478d7e9b93a09a4d:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/token-spray/api-stripe.yaml"

View on Github