跳到主要内容
版本:latest

file_webshell_check

对指定文件进行 Webshell(木马)检测。

  • 路由POST /files
  • actionfile_webshell_check

输入参数

参数名称必选类型描述
actionString固定值 file_webshell_check
filenameString要检测的文件绝对路径

输出参数

参数名称类型描述
statusBooleantrue 无风险,false 检测到风险
msgString无风险 或包含告警信息

示例

请求

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

action=file_webshell_check&filename=/www/wwwroot/test.php

响应

{"status": true, "msg": "无风险"}