nuclei-templates/exposures/configs/ssh-known-hosts.yaml

33 lines
644 B
YAML

id: ssh-known-hosts
info:
name: SSH Known Hosts File - Detect
author: geeknik
severity: low
description: SSH known hosts file was detected.
reference:
- https://datacadamia.com/ssh/known_hosts
tags: config,exposure,ssh
requests:
- method: GET
path:
- "{{BaseURL}}/.ssh/known_hosts"
- "{{BaseURL}}/.ssh/known_hosts.old"
matchers-condition: and
matchers:
- type: word
words:
- "ssh-dss"
- "ssh-ed25519"
- "ssh-rsa"
- "ecdsa-sha2-nistp256"
condition: or
- type: status
status:
- 200
# Enhanced by md on 2023/02/23