SSH Password-based Authentication
ID: ssh-password-auth
Severity: info
Author: princechaddha
Tags: ssh,js,enum,network
Description
Section titled “Description”YAML Source
Section titled “YAML Source”id: ssh-password-auth
info: name: SSH Password-based Authentication author: princechaddha severity: info reference: - https://nmap.org/nsedoc/scripts/ssh-auth-methods.html metadata: verified: true max-request: 2 shodan-query: product:"OpenSSH" tags: ssh,js,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" matchers: - type: word words: - '"UserAuth":' - '"password"' condition: and# digest: 4b0a00483046022100a1d0440171b5abe401685dddc02ad8f5b973cca6c7fc7876034060b036c419bb022100b5042e07fab8ff6705db27b1a0b86ffca6fe0a7ade434fdb547cf45bdbb9ff03: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-password-auth.yaml"