Bugfix - result was not initiliazed
parent
ebd4ae4ee3
commit
09821e6b63
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue