fixed some bugs

This commit is contained in:
UltimateHackers 2017-04-13 14:43:33 +05:30 committed by GitHub
parent b0dea26b75
commit 2f0d5920d7

View File

@ -227,11 +227,11 @@ if('2' in choice):
###Confirm by Searching Payload in Web Page### ###Confirm by Searching Payload in Web Page###
heer = custom.check() heer = xss_attack
try: try:
mam = myopener.open(host+exploi).read() mam = myopener.open(host+exploi).read()
found = False found = False
for payload in heer.hit: for payload in heer:
if payload in mam: if payload in mam:
found = True found = True
if found: if found:
@ -248,6 +248,7 @@ if('2' in choice):
time.sleep (3) time.sleep (3)
for cookie in cj: for cookie in cj:
print ("\033[1;32m==>\033[1;m", cookie) print ("\033[1;32m==>\033[1;m", cookie)
sys.exit()
else: else:
print ("\033[1;31m[-] False Positive\033[1;m") print ("\033[1;31m[-] False Positive\033[1;m")