Skip to content

Commit 8f126b9

Browse files
authored
Update run.py
1 parent f9eb361 commit 8f126b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def url(urllist,proxies):
4141
except:
4242
cprint("[-] URL为 " + u + " 的目标积极拒绝请求,予以跳过!", "magenta")
4343
#break
44-
if ((r.status_code == 200) and ('need login' not in r.text) and ('禁止访问' not in r.text) and (len(r.content) != 3318)):
44+
if ((r.status_code == 200) and ('need login' not in r.text) and ('禁止访问' not in r.text) and (len(r.content) != 3318) and ('无访问权限' not in r.text)):
4545
cprint("[+] 状态码%d" % r.status_code + ' ' + "信息泄露URL为:" + u + ' ' + "页面长度为:" + str(len(r.content)),"red")
4646
f2 = open("urlout.txt", "a")
4747
f2.write(u + '\n')
@@ -83,7 +83,7 @@ def file(filename,proxies):
8383
except:
8484
cprint("[-] URL为 " + u + " 的目标积极拒绝请求,予以跳过!", "magenta")
8585
#break
86-
if ((r.status_code == 200) and ('need login' not in r.text) and ('禁止访问' not in r.text) and (len(r.content) != 3318)):
86+
if ((r.status_code == 200) and ('need login' not in r.text) and ('禁止访问' not in r.text) and (len(r.content) != 3318) and ('无访问权限' not in r.text)):
8787
cprint("[+] 状态码%d" % r.status_code + ' ' + "信息泄露URL为:" + u + ' ' + "页面长度为:" + str(len(r.content)),"red")
8888
f2 = open("output.txt", "a")
8989
f2.write(u + '\n')

0 commit comments

Comments
 (0)