Update index.py

This commit is contained in:
midoks
2023-08-18 00:52:28 +08:00
parent 1bd1ce5b31
commit 341826c641
+2 -1
View File
@@ -1434,7 +1434,8 @@ def testRun():
# if not data[0]:
# return data[1]
default_site = getServerDir() + "/waf/default.pl"
default_path = getServerDir() + "/waf/default.pl"
default_site = mw.readFile(default_path)
url = "http://" + default_site + '/?t=../etc/passwd'
returnData = mw.httpGet(url, 3)