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.7.2.14 "
23+ VERSION = "1.7.2.15 "
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 @@ -47,11 +47,11 @@ def _commentCheck(self):
4747 versions = (
4848 (80000 , 80029 ), # MySQL 8.0
4949 (60000 , 60014 ), # MySQL 6.0
50- (50700 , 50739 ), # MySQL 5.7
50+ (50700 , 50741 ), # MySQL 5.7
5151 (50600 , 50652 ), # MySQL 5.6
5252 (50500 , 50563 ), # MySQL 5.5
5353 (50400 , 50404 ), # MySQL 5.4
54- (50100 , 50175 ), # MySQL 5.1
54+ (50100 , 50174 ), # MySQL 5.1
5555 (50000 , 50097 ), # MySQL 5.0
5656 (40100 , 40131 ), # MySQL 4.1
5757 (40000 , 40032 ), # MySQL 4.0
Original file line number Diff line number Diff line change @@ -131,7 +131,9 @@ def checkDbms(self):
131131 infoMsg = "actively fingerprinting %s" % DBMS .PGSQL
132132 logger .info (infoMsg )
133133
134- if inject .checkBooleanExpression ("BIT_COUNT(NULL) IS NULL" ):
134+ if inject .checkBooleanExpression ("REGEXP_COUNT(NULL,NULL) IS NULL" ):
135+ Backend .setVersion (">= 15.0" )
136+ elif inject .checkBooleanExpression ("BIT_COUNT(NULL) IS NULL" ):
135137 Backend .setVersion (">= 14.0" )
136138 elif inject .checkBooleanExpression ("GEN_RANDOM_UUID() IS NOT NULL" ):
137139 Backend .setVersion (">= 13.0" )
You can’t perform that action at this time.
0 commit comments