Переглянути джерело

UEditor catchimage source[] 漏洞处理

新疆体育高职分支
liangkun 1 рік тому
джерело
коміт
63dc7c0edd
1 змінених файлів з 5 додано та 1 видалено
  1. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs

+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs Переглянути файл

@@ -97,7 +97,11 @@ namespace Learun.Application.Web.Controllers
case "listfile":
return ListFileManager(UeditorConfig.GetString("fileManagerListPath"), UeditorConfig.GetStringList("fileManagerAllowFiles"));
case "catchimage":
return CrawlerHandler();
//return CrawlerHandler();存在漏洞
return Content(new
{
state = "action 参数为空或者 action 不被支持。"
}.ToJson());
default:
return Content(new
{


Завантаження…
Відмінити
Зберегти