mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Minor speedup
This commit is contained in:
parent
3a9f685e18
commit
c7e1649655
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ class MySQLMap(Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeover):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# Check if it is MySQL >= 5.5.0
|
# Check if it is MySQL >= 5.5.0
|
||||||
if inject.getValue("SELECT MID(TO_SECONDS(950501), 1, 1)", unpack=False) == "6":
|
if inject.getValue("SELECT MID(TO_SECONDS(950501), 1, 1)", unpack=False, charsetType=2) == "6":
|
||||||
kb.dbmsVersion = [">= 5.5.0"]
|
kb.dbmsVersion = [">= 5.5.0"]
|
||||||
|
|
||||||
# Check if it is MySQL >= 5.1.2 and < 5.5.0
|
# Check if it is MySQL >= 5.1.2 and < 5.5.0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue