/**1* CheckRDPAuth checks if the given host and port are running rdp server2* with authentication and returns their metadata.3* If connection is successful, it returns true.4* @example5* ```javascript6* const rdp = require('nuclei/rdp');7* const checkRDPAuth = rdp.CheckRDPAuth('acme.com', 3389);8* log(toJSON(checkRDPAuth));9* ```10*/11export function CheckRDPAuth(host: string, port: number): CheckRDPAuthResponse | null {12return null;13}1415/**16* CheckRDPEncryption checks the RDP server's supported security layers and encryption levels.17* It tests different protocols and ciphers to determine what is supported.18* @example19* ```javascript20* const rdp = require('nuclei/rdp');21* const encryption = rdp.CheckRDPEncryption('acme.com', 3389);22* log(toJSON(encryption));23* ```24*/25export function CheckRDPEncryption(host: string, port: number): RDPEncryptionResponse | null {26return null;27}2829/**30* IsRDP checks if the given host and port are running rdp server.31* If connection is successful, it returns true.32* If connection is unsuccessful, it returns false and error.33* The Name of the OS is also returned if the connection is successful.34* @example35* ```javascript36* const rdp = require('nuclei/rdp');37* const isRDP = rdp.IsRDP('acme.com', 3389);38* log(toJSON(isRDP));39* ```40*/41export function IsRDP(host: string, port: number): IsRDPResponse | null {42return null;43}4445/**46* CheckRDPAuthResponse is the response from the CheckRDPAuth function.47* this is returned by CheckRDPAuth function.48* @example49* ```javascript50* const rdp = require('nuclei/rdp');51* const checkRDPAuth = rdp.CheckRDPAuth('acme.com', 3389);52* log(toJSON(checkRDPAuth));53* ```54*/55export interface CheckRDPAuthResponse {5657PluginInfo?: ServiceRDP,5859Auth?: boolean,60}6162/**63* RDPEncryptionResponse is the response from the CheckRDPEncryption function.64* This is returned by CheckRDPEncryption function.65* @example66* ```javascript67* const rdp = require('nuclei/rdp');68* const encryption = rdp.CheckRDPEncryption('acme.com', 3389);69* log(toJSON(encryption));70* ```71*/72export interface RDPEncryptionResponse {73// Security Layer Protocols74NativeRDP: boolean;75SSL: boolean;76CredSSP: boolean;77RDSTLS: boolean;78CredSSPWithEarlyUserAuth: boolean;7980// Encryption Levels81RC4_40bit: boolean;82RC4_56bit: boolean;83RC4_128bit: boolean;84FIPS140_1: boolean;85}8687/**88* IsRDPResponse is the response from the IsRDP function.89* this is returned by IsRDP function.90* @example91* ```javascript92* const rdp = require('nuclei/rdp');93* const isRDP = rdp.IsRDP('acme.com', 3389);94* log(toJSON(isRDP));95* ```96*/97export interface IsRDPResponse {9899IsRDP?: boolean,100101OS?: string,102}103104/**105* ServiceRDP Interface106*/107export interface ServiceRDP {108109ForestName?: string,110111OSFingerprint?: string,112113OSVersion?: string,114115TargetName?: string,116117NetBIOSComputerName?: string,118119NetBIOSDomainName?: string,120121DNSComputerName?: string,122123DNSDomainName?: string,124}125126127128