File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ def __commentCheck(self):
5050 (50000 , 50092 ), # MySQL 5.0
5151 (50100 , 50156 ), # MySQL 5.1
5252 (50400 , 50404 ), # MySQL 5.4
53- (50500 , 50511 ), # MySQL 5.5
53+ (50500 , 50521 ), # MySQL 5.5
54+ (50600 , 50604 ), # MySQL 5.6
5455 (60000 , 60014 ), # MySQL 6.0
5556 )
5657
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def checkDbms(self):
6565 """
6666 References for fingerprint:
6767
68- * http://www.postgresql.org/docs/8.4 /interactive/release.html (up to 8.4.2 )
68+ * http://www.postgresql.org/docs/9.1 /interactive/release.html (up to 9.1.3 )
6969 """
7070
7171 if not conf .extensiveFp and (Backend .isDbmsWithin (PGSQL_ALIASES ) or conf .dbms in PGSQL_ALIASES ):
@@ -103,7 +103,9 @@ def checkDbms(self):
103103 infoMsg = "actively fingerprinting %s" % DBMS .PGSQL
104104 logger .info (infoMsg )
105105
106- if inject .checkBooleanExpression ("LENGTH(TO_CHAR(1, 'EEEE'))>0" ):
106+ if inject .checkBooleanExpression ("REVERSE('sqlmap')='pamlqs'" ):
107+ Backend .setVersion (">= 9.1.0" )
108+ elif inject .checkBooleanExpression ("LENGTH(TO_CHAR(1, 'EEEE'))>0" ):
107109 Backend .setVersion (">= 9.0.0" )
108110 elif inject .checkBooleanExpression ("2=(SELECT DIV(6, 3))" ):
109111 Backend .setVersionList ([">= 8.4.0" , "< 9.0.0" ])
You can’t perform that action at this time.
0 commit comments