File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ' )
You can’t perform that action at this time.
0 commit comments