Merge pull request #4 from swisskyrepo/master

AWS and Google API keys leak
patch-1
bauthard 2020-04-06 01:45:38 +05:30 committed by GitHub
commit 947a77e568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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}"