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

25 lines
526 B
YAML

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