From 2f0d5920d701eb5ed02e37fc67b200fe7160b4cc Mon Sep 17 00:00:00 2001 From: UltimateHackers Date: Thu, 13 Apr 2017 14:43:33 +0530 Subject: [PATCH] fixed some bugs --- xssight.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xssight.py b/xssight.py index 9895c63..0fb1af8 100644 --- a/xssight.py +++ b/xssight.py @@ -227,11 +227,11 @@ if('2' in choice): ###Confirm by Searching Payload in Web Page### - heer = custom.check() + heer = xss_attack try: mam = myopener.open(host+exploi).read() found = False - for payload in heer.hit: + for payload in heer: if payload in mam: found = True if found: @@ -248,6 +248,7 @@ if('2' in choice): time.sleep (3) for cookie in cj: print ("\033[1;32m==>\033[1;m", cookie) + sys.exit() else: print ("\033[1;31m[-] False Positive\033[1;m")