Update index.py

This commit is contained in:
midoks
2023-08-18 00:42:20 +08:00
parent a0434ef7d6
commit 1bd1ce5b31
+4 -1
View File
@@ -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)