mirror of
https://github.com/DeNNiiInc/UltyScan.git
synced 2026-04-17 22:46:00 +00:00
UltyScan Documentation Overhaul
This commit is contained in:
14
templates/active/XSS.py
Normal file
14
templates/active/XSS.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Import any WebDriver class that you would usually import from
|
||||
# selenium.webdriver from the seleniumrequests module
|
||||
import sys
|
||||
from seleniumrequests import Firefox
|
||||
|
||||
url = sys.argv[1]
|
||||
# Simple usage with built-in WebDrivers:
|
||||
webdriver = Firefox()
|
||||
response = webdriver.request('GET', '%s/xss.php?xss=<script>document.write(INJECTX)</script>' % url)
|
||||
if '<script>document.write(INJECTX)</script>' in response.text:
|
||||
print("Vulnerable!")
|
||||
print(response.text)
|
||||
webdriver.quit()
|
||||
SECONDARY_COMMANDS=''
|
||||
Reference in New Issue
Block a user