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

28 lines
731 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
2023-11-09 08:44:00 +00:00
max-request: 1
shodan-query: product:"OpenSSH"
2023-11-09 08:07:17 +00:00
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'
# digest: 490a004630440220150e7d5283c989e59522546a3bba666e5e870e8efb2a181f173a74e2ea96f6e6022047048a221b844566c2e234b8e28b0a85e515504f443bfefcfc4010b7a6ce96fb:922c64590222798bb761d5b6d8e72950