Videos

Published on August 8th, 2018 📆 | 3974 Views ⚑

0

Simple Python XSS Vulnerability Scanner


iSpeech.org


Where you see an asterik(*) replace with an angle bracket-Youtube does not allow them in the description
Code:
import requests
target = raw_input("Target URL...")
payload = "*script* alert('XSS'); /*script* "
req = requests.post(target + payload)
if payload in req.text:
print ""
print "XSS Vulnerablity discovered!"
print ""
print "Refer to XSS payloads for further escalation"
print ""
else:
print "Secure"


2018-08-08 08:37:44

source





Tagged with:



Comments are closed.