Update robust.py
parent
f3d35a3dc3
commit
01acf672f4
|
@ -19,7 +19,11 @@ def parser():
|
|||
def runrobust(args):
|
||||
found=[]
|
||||
def bust(href):
|
||||
headers={"cookie":" ".join(args.cookie),"user-agent":" ".join(args.uagent)}
|
||||
headers={}
|
||||
if args.cookie:
|
||||
headers["cookie"]=" ".join(args.cookie)
|
||||
if args.uagent:
|
||||
headers["user-agent"]=" ".join(args.uagent)
|
||||
try:
|
||||
r=requests.get(href)
|
||||
splitl=r.text.split("\n")
|
||||
|
|
Loading…
Reference in New Issue