I have a problem with this line
print(Fore.RED+'NOT Found: '+url ,file=open('output.txt','w'))
I need to save the request to this output but it's not working
res = requests.get(url)
if payload in res.text:
print(Fore.GREEN +'Found -->',' ' , f"{url}" + Fore.RESET)
else :
print(Fore.RED+'XSS NOT Found: '+url ,file=open('output.txt','w'))