mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 11:45:25 +00:00
* use parsed options while signing * update project layout to v3 * fix .gitignore * remove example template * misc updates * bump tlsx version * hide template sig warning with env * js: retain value while using log * fix nil pointer derefernce * misc doc update --------- Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
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
|