12/**3* CheckRDPAuth checks if the given host and port are running rdp server4* with authentication and returns their metadata.5* If connection is successful, it returns true.6* @example7* ```javascript8* const rdp = require('nuclei/rdp');9* const checkRDPAuth = rdp.CheckRDPAuth('acme.com', 3389);10* log(toJSON(checkRDPAuth));11* ```12*/13export function CheckRDPAuth(host: string, port: number): CheckRDPAuthResponse | null {14return null;15}16171819/**20* IsRDP checks if the given host and port are running rdp server.21* If connection is successful, it returns true.22* If connection is unsuccessful, it returns false and error.23* The Name of the OS is also returned if the connection is successful.24* @example25* ```javascript26* const rdp = require('nuclei/rdp');27* const isRDP = rdp.IsRDP('acme.com', 3389);28* log(toJSON(isRDP));29* ```30*/31export function IsRDP(host: string, port: number): IsRDPResponse | null {32return null;33}34353637/**38* CheckRDPAuthResponse is the response from the CheckRDPAuth function.39* this is returned by CheckRDPAuth function.40* @example41* ```javascript42* const rdp = require('nuclei/rdp');43* const checkRDPAuth = rdp.CheckRDPAuth('acme.com', 3389);44* log(toJSON(checkRDPAuth));45* ```46*/47export interface CheckRDPAuthResponse {4849PluginInfo?: ServiceRDP,5051Auth?: boolean,52}53545556/**57* IsRDPResponse is the response from the IsRDP function.58* this is returned by IsRDP function.59* @example60* ```javascript61* const rdp = require('nuclei/rdp');62* const isRDP = rdp.IsRDP('acme.com', 3389);63* log(toJSON(isRDP));64* ```65*/66export interface IsRDPResponse {6768IsRDP?: boolean,6970OS?: string,71}72737475/**76* ServiceRDP Interface77*/78export interface ServiceRDP {7980ForestName?: string,8182OSFingerprint?: string,8384OSVersion?: string,8586TargetName?: string,8788NetBIOSComputerName?: string,8990NetBIOSDomainName?: string,9192DNSComputerName?: string,9394DNSDomainName?: string,95}96979899