Modules
Telnet
telnet
- telnet
TelnetClient
.IsTelnet(host, port)
⇒IsTelnetResponse
IsTelnetResponse
:object
(telnet).TelnetClient
TelnetClient is a minimal Telnet client for nuclei scripts
Kind: inner class of telnet
telnetClient.IsTelnet(host, port) ⇒ IsTelnetResponse
IsTelnet checks if a host is running a Telnet server
Kind: instance method of TelnetClient
Returns: IsTelnetResponse
- - The response of the IsTelnet check.
Throws:
error
- The error encountered during the IsTelnet check.
Param | Type | Description |
---|---|---|
host | string | The host to check for Telnet server. |
port | int | The port to check for Telnet server. |
Example
let m = require('nuclei/telnet');
let c = m.TelnetClient();
let response = c.IsTelnet('localhost', 23);
(telnet).IsTelnetResponse : object
IsTelnetResponse is an object containing the response of the IsTelnet check.
Kind: inner typedef of telnet