From 1bd1ce5b31365fdcc3a5f7f615bb8fc6a724ddb6 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 18 Aug 2023 00:42:20 +0800 Subject: [PATCH] Update index.py --- plugins/op_waf/index.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/op_waf/index.py b/plugins/op_waf/index.py index 88de6ef52..13f29ac8d 100755 --- a/plugins/op_waf/index.py +++ b/plugins/op_waf/index.py @@ -1436,7 +1436,10 @@ def testRun(): default_site = getServerDir() + "/waf/default.pl" url = "http://" + default_site + '/?t=../etc/passwd' - returnData = mw.httpGet(url, 10) + returnData = mw.httpGet(url, 3) + + url = "https://" + default_site + '/?t=../etc/passwd' + returnData = mw.httpGet(url, 3) return mw.returnJson(True, '测试运行成功!', returnData)