Documentation
¶
Overview ¶
Warning - This is generated code
Index ¶
Constants ¶
const ( SecurityLayerNativeRDP = "NativeRDP" SecurityLayerSSL = "SSL" SecurityLayerCredSSP = "CredSSP" SecurityLayerRDSTLS = "RDSTLS" SecurityLayerCredSSPWithEarlyUserAuth = "CredSSPWithEarlyUserAuth" )
const ( EncryptionLevelRC4_40bit = "RC4_40bit" EncryptionLevelRC4_56bit = "RC4_56bit" EncryptionLevelRC4_128bit = "RC4_128bit" EncryptionLevelFIPS140_1 = "FIPS140_1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckRDPAuthResponse ¶
type CheckRDPAuthResponse struct {
PluginInfo *plugins.ServiceRDP
Auth bool
}
CheckRDPAuthResponse is the response from the CheckRDPAuth function. this is returned by CheckRDPAuth function. @example ```javascript const rdp = require('nuclei/rdp'); const checkRDPAuth = rdp.CheckRDPAuth('acme.com', 3389); log(toJSON(checkRDPAuth)); ```
func CheckRDPAuth ¶
CheckRDPAuth checks if the given host and port are running rdp server with authentication and returns their metadata. If connection is successful, it returns true. @example ```javascript const rdp = require('nuclei/rdp'); const checkRDPAuth = rdp.CheckRDPAuth('acme.com', 3389); log(toJSON(checkRDPAuth)); ```
type EncryptionLevel ¶ added in v3.4.7
type EncryptionLevel string
type IsRDPResponse ¶
IsRDPResponse is the response from the IsRDP function. this is returned by IsRDP function. @example ```javascript const rdp = require('nuclei/rdp'); const isRDP = rdp.IsRDP('acme.com', 3389); log(toJSON(isRDP)); ```
func IsRDP ¶
IsRDP checks if the given host and port are running rdp server. If connection is successful, it returns true. If connection is unsuccessful, it returns false and error. The Name of the OS is also returned if the connection is successful. @example ```javascript const rdp = require('nuclei/rdp'); const isRDP = rdp.IsRDP('acme.com', 3389); log(toJSON(isRDP)); ```
type RDPEncryptionResponse ¶ added in v3.4.7
type RDPEncryptionResponse struct {
// Protocols
NativeRDP bool
SSL bool
CredSSP bool
RDSTLS bool
CredSSPWithEarlyUserAuth bool
// EncryptionLevels
RC4_40bit bool
RC4_56bit bool
RC4_128bit bool
FIPS140_1 bool
}
RDPEncryptionResponse is the response from the CheckRDPEncryption function. This is returned by CheckRDPEncryption function. @example ```javascript const rdp = require('nuclei/rdp'); const encryption = rdp.CheckRDPEncryption('acme.com', 3389); log(toJSON(encryption)); ```
func CheckRDPEncryption ¶ added in v3.4.7
CheckRDPEncryption checks the RDP server's supported security layers and encryption levels. It tests different protocols and ciphers to determine what is supported. @example ```javascript const rdp = require('nuclei/rdp'); const encryption = rdp.CheckRDPEncryption('acme.com', 3389); log(toJSON(encryption)); ```
type SecurityLayer ¶ added in v3.4.7
type SecurityLayer string