mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 23:35:27 +00:00
25 lines
472 B
YAML
25 lines
472 B
YAML
|
|
id: ssh-server-fingerprint
|
||
|
|
|
||
|
|
info:
|
||
|
|
name: Fingerprint SSH Server Software
|
||
|
|
author: Ice3man543,tarunKoyalwar
|
||
|
|
severity: info
|
||
|
|
|
||
|
|
|
||
|
|
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
|
||
|
|
name: server
|
||
|
|
json:
|
||
|
|
- '.ServerID.Raw'
|
||
|
|
part: response
|