26 lines
646 B
YAML
26 lines
646 B
YAML
id: square-access
|
|
|
|
info:
|
|
name: Square Access Token
|
|
author: DhiyaneshDK
|
|
severity: info
|
|
reference:
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/square.yml
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
tags: square,token,exposure
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '(?i)\b(sq0atp-[a-z0-9_-]{22})\b'
|
|
|
|
# digest: 4b0a00483046022100a7c03e561633fbb0f926f357370abae3985687a1726065246762050657950b0f0221008199ea6636ee1d2d26e1514ed279bbc41ec0d73d0aa22b1a60b945ba900b7d53:922c64590222798bb761d5b6d8e72950
|