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: 1 shodan-query: product:"OpenSSH" tags: ssh,js,enum,network 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" matchers: - type: word words: - '"UserAuth":' - '"password"' condition: and # digest: 4a0a00473045022100ee9ce0f0839891eba130024f0f58e5eb296492e65df83bd5024104ce7fd073bc022002ccc0d8a9f1f560cbbca3e060cbd3954b717cbde9bd6416a79db5d08967cdfa:922c64590222798bb761d5b6d8e72950