mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
minor fix (for those blank suffixes out of nowhere at the end of payload - not related to "-- ")
This commit is contained in:
@@ -193,10 +193,8 @@ class Agent:
|
|||||||
if where == PAYLOAD.WHERE.REPLACE:
|
if where == PAYLOAD.WHERE.REPLACE:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
elif kb.injection.suffix is not None:
|
elif any([kb.injection.suffix, suffix]):
|
||||||
expression += " %s" % kb.injection.suffix
|
expression += " %s" % (kb.injection.suffix or suffix)
|
||||||
elif suffix is not None:
|
|
||||||
expression += " %s" % suffix
|
|
||||||
|
|
||||||
return expression
|
return expression
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user