nuclei-templates/file/keys/private-key.yaml

24 lines
687 B
YAML
Raw Normal View History

2021-05-29 09:16:00 +00:00
id: private-key
info:
name: Private Key Detect
2021-07-27 19:26:04 +00:00
author: gaurang,geeknik
2021-05-29 09:16:00 +00:00
severity: high
2024-01-14 09:21:50 +00:00
tags: file,keys,token
2021-05-29 09:16:00 +00:00
file:
- extensions:
- all
extractors:
- type: regex
regex:
- "BEGIN OPENSSH PRIVATE KEY"
- "BEGIN PRIVATE KEY"
- "BEGIN RSA PRIVATE KEY"
- "BEGIN DSA PRIVATE KEY"
- "BEGIN EC PRIVATE KEY"
- "BEGIN PGP PRIVATE KEY BLOCK"
- "ssh-rsa"
- "ssh-dsa"
- "ssh-ed25519"
# digest: 4a0a004730450220012882f3d65764d754d5f19daface386c18880d36acae666c3661a7b5fac3489022100fbcfdc07b0b9362befde988d181bf2f3af23847bcb67d65249c51c918db3a4db:922c64590222798bb761d5b6d8e72950