File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.5.10.13 "
23+ VERSION = "1.5.10.14 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -200,16 +200,16 @@ def checkDbms(self):
200200 # reading information_schema on some platforms is causing annoying timeout exits
201201 # Reference: http://bugs.mysql.com/bug.php?id=15855
202202
203+ kb .data .has_information_schema = True
204+
203205 # Determine if it is MySQL >= 8.0.0
204206 if inject .checkBooleanExpression ("ISNULL(JSON_STORAGE_FREE(NULL))" ):
205- kb .data .has_information_schema = True
206207 Backend .setVersion (">= 8.0.0" )
207208 setDbms ("%s 8" % DBMS .MYSQL )
208209 self .getBanner ()
209210
210211 # Determine if it is MySQL >= 5.0.0
211212 elif inject .checkBooleanExpression ("ISNULL(TIMESTAMPADD(MINUTE,[RANDNUM],NULL))" ):
212- kb .data .has_information_schema = True
213213 Backend .setVersion (">= 5.0.0" )
214214 setDbms ("%s 5" % DBMS .MYSQL )
215215 self .getBanner ()
@@ -269,6 +269,8 @@ def checkDbms(self):
269269 setDbms ("%s 4" % DBMS .MYSQL )
270270 self .getBanner ()
271271
272+ kb .data .has_information_schema = False
273+
272274 if not conf .extensiveFp :
273275 return True
274276
@@ -291,6 +293,8 @@ def checkDbms(self):
291293 setDbms ("%s 3" % DBMS .MYSQL )
292294 self .getBanner ()
293295
296+ kb .data .has_information_schema = False
297+
294298 return True
295299 else :
296300 warnMsg = "the back-end DBMS is not %s" % DBMS .MYSQL
You can’t perform that action at this time.
0 commit comments