跳到主要内容
版本:latest

dir_webshell_check

对指定目录发起 Webshell 木马扫描任务,结果写入面板安全日志。

  • 路由POST /files
  • actiondir_webshell_check

输入参数

参数名称必选类型描述
actionString固定值 dir_webshell_check
pathString要扫描的目录绝对路径

输出参数

参数名称类型描述
statusBooleantrue 扫描任务已启动
msgString提示信息

示例

请求

POST /files HTTP/1.1
Host: 192.168.168.213:8888
Content-Type: application/x-www-form-urlencoded

action=dir_webshell_check&path=/www/wwwroot

响应

{"status": true, "msg": "正在启动木马查杀进程。详细信息会在面板安全日志中"}