AWS and Google API keys leak

patch-1
Swissky 2020-04-05 22:01:24 +02:00
parent b1c401a8f8
commit 15cc9d41e8
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,21 @@
id: aws-access-key-value
info:
name: AWS Access Key ID Value
author: Swissky
severity: medium
requests:
- method: GET
path:
- "{{BaseURL}}/"
matchers:
- type: regex
part: body
regex:
- "(A3T[A-Z0-9]|AKIA|AGPA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}"
extractors:
- type: regex
part: body
regex:
- "(A3T[A-Z0-9]|AKIA|AGPA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}"

View File

@ -0,0 +1,21 @@
id: google-cloud-api-key
info:
name: Google Cloud API Key
author: Swissky
severity: medium
requests:
- method: GET
path:
- "{{BaseURL}}/"
matchers:
- type: regex
part: body
regex:
- "AIza[0-9A-Za-z\\-_]{35}"
extractors:
- type: regex
part: body
regex:
- "AIza[0-9A-Za-z\\-_]{35}"