Create ssh-known-hosts.yaml
parent
101051cb21
commit
15c7ef6d48
|
@ -0,0 +1,28 @@
|
||||||
|
id: ssh-known-hosts
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: SSH Known Hosts
|
||||||
|
author: geeknik
|
||||||
|
reference: https://datacadamia.com/ssh/known_hosts
|
||||||
|
severity: low
|
||||||
|
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
|
Loading…
Reference in New Issue