nuclei-templates/javascript/enumeration/ssh-server-enumeration.yaml

27 lines
541 B
YAML
Raw Normal View History

2023-11-09 08:07:17 +00:00
id: ssh-server-enumeration
2023-11-02 19:06:37 +00:00
info:
2023-11-09 08:07:17 +00:00
name: SSH Server Software Enumeration
2023-11-02 19:06:37 +00:00
author: Ice3man543,tarunKoyalwar
severity: info
metadata:
2023-11-09 08:07:17 +00:00
verified: true
shodan-query: product:"OpenSSH"
max-request: 1
tags: js,ssh,enum,network
2023-11-02 19:06:37 +00:00
javascript:
- code: |
var m = require("nuclei/ssh");
var c = m.SSHClient();
var response = c.ConnectSSHInfoMode(Host, Port);
to_json(response);
args:
Host: "{{Host}}"
Port: "22"
extractors:
- type: json
json:
- '.ServerID.Raw'