mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Update regarding suffixQuery (user supplied --suffix should nullify any eventual payload comments)
This commit is contained in:
parent
ec43ceec40
commit
efe4c13ed1
|
@ -189,6 +189,9 @@ class Agent:
|
||||||
|
|
||||||
expression = self.cleanupPayload(expression)
|
expression = self.cleanupPayload(expression)
|
||||||
|
|
||||||
|
# User supplied --suffix nullifies any eventual payload comments
|
||||||
|
comment = None if conf.suffix is not None and suffix == conf.suffix else comment
|
||||||
|
|
||||||
if Backend.getIdentifiedDbms() == DBMS.ACCESS and comment == GENERIC_SQL_COMMENT:
|
if Backend.getIdentifiedDbms() == DBMS.ACCESS and comment == GENERIC_SQL_COMMENT:
|
||||||
comment = "%00"
|
comment = "%00"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user