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

23 lines
472 B
YAML
Raw Normal View History

2021-05-29 09:16:00 +00:00
id: private-key
info:
name: Private Key Detect
author: gaurang
severity: high
tags: keys,file
file:
- extensions:
- all
- txt
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\""