Bugfix - result was not initiliazed

master
Swissky 2017-09-25 22:46:01 +02:00
parent ebd4ae4ee3
commit 09821e6b63
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ def scan_xss(method, vulns, url, fuzz, cookie, useragent, data):
try: try:
ghost = Ghost() ghost = Ghost()
x = ghost.start() x = ghost.start()
result = 0
# POST # POST
if (method == 'POST' and fuzz != ''): if (method == 'POST' and fuzz != ''):
inject = dict(data) inject = dict(data)