SSH Server Software Enumeration
ID: ssh-server-enumeration
Severity: info
Author: Ice3man543,tarunKoyalwar
Tags: js,ssh,enum,network
Description
Section titled “Description”YAML Source
Section titled “YAML Source”id: ssh-server-enumeration
info: name: SSH Server Software Enumeration author: Ice3man543,tarunKoyalwar severity: info metadata: verified: true max-request: 2 shodan-query: product:"OpenSSH" tags: js,ssh,enum,network
javascript: - pre-condition: | isPortOpen(Host,Port); code: | var m = require("nuclei/ssh"); var c = m.SSHClient(); var response = c.ConnectSSHInfoMode(Host, Port); Export(response); args: Host: "{{Host}}" Port: "22"
extractors: - type: json json: - '.ServerID.Raw'# digest: 4a0a00473045022100f430d181ad11f89457cd243ee590bd9cdf1eeb722d2168ee0fb658989bc293bf02206cd1717181cc8b0bf8395717d2f51d6d7d66bc321c0dc581aebbadf214c9df97:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "javascript/enumeration/ssh/ssh-server-enumeration.yaml"