Token and File Based Templates

patch-1
Dhiyaneshwaran 2023-05-19 01:53:21 +05:30
parent c01defe4f2
commit 1dad4cfd50
9 changed files with 204 additions and 0 deletions

View File

@ -0,0 +1,22 @@
id: digitalocean-personal-token
info:
name: DigitalOcean Personal Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/digitalocean.yml
- https://docs.digitalocean.com/reference/api/
metadata:
verified: "true"
tags: digitalocean,file,token
file:
- extensions:
- all
extractors:
- type: regex
part: body
regex:
- (?i)\b(doo_v1_[a-f0-9]{64})\b

View File

@ -0,0 +1,22 @@
id: digitalocean-personal-access
info:
name: DigitalOcean Personal Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/digitalocean.yml
- https://docs.digitalocean.com/reference/api/
metadata:
verified: "true"
tags: digitalocean,file,token
file:
- extensions:
- all
extractors:
- type: regex
part: body
regex:
- (?i)\b(dop_v1_[a-f0-9]{64})\b

View File

@ -0,0 +1,22 @@
id: digitalocean-refresh-token
info:
name: DigitalOcean Refresh Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/digitalocean.yml
- https://docs.digitalocean.com/reference/api/
metadata:
verified: "true"
tags: digitalocean,file,token
file:
- extensions:
- all
extractors:
- type: regex
part: body
regex:
- (?x)(?i)\b(dor_v1_[a-f0-9]{64})\b

View File

@ -0,0 +1,22 @@
id: figma-access-token
info:
name: Figma Personal Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/figma.yml
- https://www.figma.com/developers/api
metadata:
verified: "true"
tags: figma,file,token
file:
- extensions:
- all
extractors:
- type: regex
part: body
regex:
- (?i)figma.{0,20}\b([0-9a-f]{4}-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})\b

View File

@ -0,0 +1,24 @@
id: azure-connection
info:
name: Azure Connection String
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/azure.yml
- https://azure.microsoft.com/en-us/blog/windows-azure-web-sites-how-application-strings-and-connection-strings-work/
- https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string
metadata:
verified: "true"
tags: azure,exposure,token
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)(?:AccountName|SharedAccessKeyName|SharedSecretIssuer)\s*=\s*([^;]{1,80})\s*;\s*.{0,10}\s*(?:AccountKey|SharedAccessKey|SharedSecretValue)\s*=\s*([^;]{1,100})(?:;|$)

View File

@ -0,0 +1,23 @@
id: digitalocean-app-token
info:
name: DigitalOcean Application Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/digitalocean.yml
- https://docs.digitalocean.com/reference/api/
metadata:
verified: "true"
tags: digitalocean,exposure,token
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)\b(doo_v1_[a-f0-9]{64})\b

View File

@ -0,0 +1,23 @@
id: digitalocean-personal-token
info:
name: DigitalOcean Personal Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/digitalocean.yml
- https://docs.digitalocean.com/reference/api/
metadata:
verified: "true"
tags: digitalocean,exposure,token
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)\b(dop_v1_[a-f0-9]{64})\b

View File

@ -0,0 +1,23 @@
id: digitalocean-refresh
info:
name: DigitalOcean Refresh Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/digitalocean.yml
- https://docs.digitalocean.com/reference/api/
metadata:
verified: "true"
tags: digitalocean,exposure,token
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?x)(?i)\b(dor_v1_[a-f0-9]{64})\b

View File

@ -0,0 +1,23 @@
id: figma-personal-token
info:
name: Figma Personal Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/figma.yml
- https://www.figma.com/developers/api
metadata:
verified: "true"
tags: figma,exposure,token
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)figma.{0,20}\b([0-9a-f]{4}-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})\b