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

24 lines
687 B
YAML

id: private-key
info:
name: Private Key Detect
author: gaurang,geeknik
severity: high
tags: file,keys,token
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