Update index.py

This commit is contained in:
midoks
2023-08-18 00:53:15 +08:00
parent 341826c641
commit 834196883c
+3 -3
View File
@@ -1437,10 +1437,10 @@ def testRun():
default_path = getServerDir() + "/waf/default.pl"
default_site = mw.readFile(default_path)
url = "http://" + default_site + '/?t=../etc/passwd'
returnData = mw.httpGet(url, 3)
returnData = mw.httpGet(url, 10)
url = "https://" + default_site + '/?t=../etc/passwd'
returnData = mw.httpGet(url, 3)
# url = "https://" + default_site + '/?t=../etc/passwd'
# returnData = mw.httpGet(url, 3)
return mw.returnJson(True, '测试运行成功!', returnData)