服务端的配置文件支持部分重载功能。在Linux和Darwin系统上,你可以使用命令 sudo nps reload 进行重载;而在Windows系统上,则应使用 nps.exe reload。请注意,当前仅支持部分配置的重载,如 allow_user_login, auth_crypt_key, auth_key, web_username, web_password 等。未来版本将支持更多配置的重载功能。服务端...
nps(一款轻量级、高性能、功能强大的内网穿透代理服务器)中的"auth_key未授权访问漏洞"指的是当nps服务器的配置文件nps.conf中的auth_key参数未正确配置时,攻击者可以通过伪造特定的请求包,绕过身份验证机制,从而获取服务器后台的访问权限。具体来说,如果auth_key未被设置或设置不当,攻击者可以利用时间戳和MD5算法生...
log_level 日志输出级别 auth_crypt_key 获取服务端authKey时的aes加密密钥,16位 p2p_ip 服务端Ip,使用p2p模式必填 p2p_port P2P模式开启的UDP端口 pprof_ip debug pprof 服务端ip pprof_port debug pprof 端口 disconnect_timeout 客户端连接超时,单位 5s,默认值 60,即 300s = 5mins 按照需求修改即可 然后...
说明: 仅支持部分配置重载,例如allow_user_login auth_crypt_key auth_key web_username web_password 等,未来将支持更多 服务端停止或重启 如果是daemon启动 AI检测代码解析 ./nps stop|restart 1.服务端配置文件 /conf/nps.conf 名称 含义 web_port web管理端口 web_password web界面管理密码 web_username web...
auth_crypt_key获取服务端authKey时的aes加密密钥,16位 p2p_ip服务端Ip,使用p2p模式必填 p2p_portp2p模式开启的udp端口 pprof_ipdebug pprof 服务端ip pprof_portdebug pprof 端口 disconnect_timeout客户端连接超时,单位 5s,默认值 60,即 300s = 5mins ...
#auth_crypt_key =1234567812345678auth_crypt_key =admin123admin123 #allow_ports=9001-9009,10001,11000-12000#Web management multi-user login allow_user_login=falseallow_user_register=falseallow_user_change_username=false#extension allow_flow_limit=falseallow_rate_limit=falseallow_tunnel_num_limit=false...
auth_crypt_key=rghusiohfnaibfbuegois 然后输入 nps restart 进行重启nps 服务器如果是端口映射则需要映射web端口和客户端连接端口 使用公网地址进入web页面登录 选择客户端,点击新增,可自由选择,也可啥也不动 新增之后刷新,点击刚刚创建的客户端的加号
直接访问生成的url可以看到后台 -w978 auth_key和timestamp的时效只有20s,所以需要不停的生成。并且需要手动添加到get请求和着post请求的参数中。下图为client列表接口。 -w1656 漏洞修复 只需要在配置文件里去掉auth_key的注释,同时注释掉auth_crypt_key。 -w412...
直接访问生成的url可以看到后台 -w978 auth_key和timestamp的时效只有20s,所以需要不停的生成。并且需要手动添加到get请求和着post请求的参数中。下图为client列表接口。 -w1656 漏洞修复 只需要在配置文件里去掉auth_key的注释,同时注释掉auth_crypt_key。 -...
auth_crypt_key =1234567812345678 ===> web api认证ip密钥,可改但必须16位 #allow_ports=9001-9009,10001,11000-12000 ===> 字面意思 #Web management multi-user login allow_user_login=false allow_user_register=false allow_user_change_username=false #extension allow_flow_limit=false allow_rate_limit...