Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ebde4b1

Browse files
committed
Minor update
1 parent bf55449 commit ebde4b1

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

plugins/dbms/mysql/fingerprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def checkDbms(self):
174174
infoMsg = "confirming %s" % DBMS.MYSQL
175175
logger.info(infoMsg)
176176

177-
result = inject.checkBooleanExpression("USER()=USER()")
177+
result = inject.checkBooleanExpression("USER() LIKE USER()")
178178

179179
if not result:
180180
warnMsg = "the back-end DBMS is not %s" % DBMS.MYSQL

xml/queries.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,7 @@
397397
<dbms value="Firebird">
398398
<cast query="CAST(%s AS VARCHAR(10000))"/>
399399
<length query="CHAR_LENGTH(%s)"/>
400-
<!-- TODO: add proper value -->
401-
<delimiter query=""/>
400+
<delimiter query="||"/>
402401
<limit query="ROWS %d TO %d"/>
403402
<limitregexp query="\s+ROWS\s+([\d]+)(\s+\TO\s+([\d]+))?"/>
404403
<limitgroupstart query="1"/>

0 commit comments

Comments
 (0)