mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01: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
1 changed files with 2 additions and 4 deletions
|
|
@ -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 a new issue