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

22 lines
461 B
YAML

id: private-key
info:
name: Private Key Detect
author: gaurang
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\""