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

25 lines
490 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
2021-06-09 17:29:13 +00:00
tags: token,file
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"