mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
Bug fix (0 datetime value not liked by direct connector)
This commit is contained in:
parent
0cf2bdeb1c
commit
3bbe02a714
|
@ -181,7 +181,7 @@ class Fingerprint(GenericFingerprint):
|
|||
# Reference: http://bugs.mysql.com/bug.php?id=15855
|
||||
|
||||
# Determine if it is MySQL >= 5.0.0
|
||||
if inject.checkBooleanExpression("ISNULL(TIMESTAMPADD(MINUTE,[RANDNUM],0))"):
|
||||
if inject.checkBooleanExpression("ISNULL(TIMESTAMPADD(MINUTE,[RANDNUM],NULL))"):
|
||||
kb.data.has_information_schema = True
|
||||
Backend.setVersion(">= 5.0.0")
|
||||
setDbms("%s 5" % DBMS.MYSQL)
|
||||
|
|
Loading…
Reference in New Issue
Block a user