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

29 lines
791 B
YAML
Raw Normal View History

2023-11-09 13:37:17 +05:30
id: ssh-server-enumeration
2023-11-03 00:36:37 +05:30
info:
2023-11-09 13:37:17 +05:30
name: SSH Server Software Enumeration
2023-11-03 00:36:37 +05:30
author: Ice3man543,tarunKoyalwar
severity: info
metadata:
2023-11-09 13:37:17 +05:30
verified: true
max-request: 2
shodan-query: product:"OpenSSH"
tags: js,ssh,enum,network,discovery
2024-01-04 12:16:23 +05:30
2023-11-03 00:36:37 +05:30
javascript:
2023-12-01 18:48:05 +05:30
- pre-condition: |
isPortOpen(Host,Port);
code: |
2023-11-03 00:36:37 +05:30
var m = require("nuclei/ssh");
var c = m.SSHClient();
var response = c.ConnectSSHInfoMode(Host, Port);
2024-02-29 13:35:22 +05:30
Export(response);
2023-11-03 00:36:37 +05:30
args:
Host: "{{Host}}"
Port: "22"
extractors:
- type: json
json:
- '.ServerID.Raw'
2024-12-01 13:57:55 +00:00
# digest: 4a0a00473045022100f430d181ad11f89457cd243ee590bd9cdf1eeb722d2168ee0fb658989bc293bf02206cd1717181cc8b0bf8395717d2f51d6d7d66bc321c0dc581aebbadf214c9df97:922c64590222798bb761d5b6d8e72950