Skip to main content

命名空间: rdp

目录

接口

函数

函数

CheckRDPAuth

CheckRDPAuth(host, port): CheckRDPAuthResponse | null CheckRDPAuth 检查给定的主机和端口是否运行带有身份验证的RDP服务器, 并返回其元数据。 如果连接成功,返回true。

参数

名称类型
hoststring
portnumber

返回值

CheckRDPAuthResponse | null 示例
const rdp = require('nuclei/rdp');
const checkRDPAuth = rdp.CheckRDPAuth('acme.com', 3389);
log(toJSON(checkRDPAuth));

定义于

rdp.ts:14

IsRDP

IsRDP(host, port): IsRDPResponse | null IsRDP 检查给定的主机和端口是否运行RDP服务器。 如果连接成功,返回true。 如果连接不成功,返回false和错误信息。 如果连接成功,还会返回操作系统的名称。

参数

名称类型
hoststring
portnumber

返回值

IsRDPResponse | null 示例
const rdp = require('nuclei/rdp');
const isRDP = rdp.IsRDP('acme.com', 3389);
log(toJSON(isRDP));

定义于

rdp.ts:32