Skip to content

Lua/NSE error - ssh-auth-methods.nse #1014

@FrankSpierings

Description

@FrankSpierings

I receive the following error (ip removed):

NSE: ssh-auth-methods against #.#.#.#:22 threw an error!
ERROR
stack traceback:
	[C]: in function 'libssh2.session_open'
	/usr/local/bin/../share/nmap/nselib/libssh2-utility.lua:36: in method 'connect'
	/usr/local/bin/../share/nmap/scripts/ssh-auth-methods.nse:33: in function </usr/local/bin/../share/nmap/scripts/ssh-auth-methods.nse:30>
	(...tail calls...)

This occurs when a ssh connection can not be actually made. "The SYN cookies are a lie". They make nmap think the port is open.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions