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:
ghost = Ghost()
x = ghost.start()
result = 0
# POST
if (method == 'POST' and fuzz != ''):
inject = dict(data)