mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
bug fix (when comment is None this was errornous)
This commit is contained in:
@@ -450,7 +450,7 @@ def checkSqlInjection(place, parameter, value):
|
|||||||
injection.os = Backend.setOs(dValue)
|
injection.os = Backend.setOs(dValue)
|
||||||
|
|
||||||
if vector is None and "vector" in test and test.vector is not None:
|
if vector is None and "vector" in test and test.vector is not None:
|
||||||
vector = "%s%s" % (test.vector, comment)
|
vector = "%s%s" % (test.vector, comment or "")
|
||||||
|
|
||||||
injection.data[stype] = AttribDict()
|
injection.data[stype] = AttribDict()
|
||||||
injection.data[stype].title = title
|
injection.data[stype].title = title
|
||||||
|
|||||||
Reference in New Issue
Block a user