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