22 lines
456 B
YAML
22 lines
456 B
YAML
|
id: stackhawk-api
|
||
|
|
||
|
info:
|
||
|
name: StackHawk API Key
|
||
|
author: DhiyaneshDK
|
||
|
severity: info
|
||
|
reference:
|
||
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/stackhawk.yml
|
||
|
metadata:
|
||
|
verified: "true"
|
||
|
tags: stackhawk,token,exposure
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}"
|
||
|
|
||
|
extractors:
|
||
|
- type: regex
|
||
|
part: body
|
||
|
regex:
|
||
|
- '\b(hawk\.[0-9A-Za-z_-]{20}\.[0-9A-Za-z_-]{20})\b'
|