Skip to content

Commit fca6772

Browse files
committed
Implementation for an Issue sqlmapproject#468
1 parent a72096a commit fca6772

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/core/agent.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def suffixQuery(self, expression, comment=None, suffix=None, where=None):
218218
comment = kb.injection.data[kb.technique].comment if comment is None else comment
219219

220220
if Backend.getIdentifiedDbms() == DBMS.ACCESS and comment == GENERIC_SQL_COMMENT:
221-
comment = "%00"
221+
comment = queries[DBMS.ACCESS].comment.query
222222

223223
if comment is not None:
224224
expression += comment

‎xml/queries.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@
355355
<limitstring query=" TOP "/>
356356
<order query="ORDER BY %s ASC"/>
357357
<count query="COUNT(%s)"/>
358-
<comment query="%00"/>
358+
<comment query="%16" query2="%00"/>
359359
<substring query="MID((%s),%d,%d)"/>
360360
<concatenate query="%s&amp;%s"/>
361361
<case query="SELECT (IIF(%s,1,0))"/>

0 commit comments

Comments
 (0)