File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ class DBMS_DIRECTORY_NAME(object):
7676class FORK (object ):
7777 MARIADB = "MariaDB"
7878 MEMSQL = "MemSQL"
79+ PERCONA = "Percona"
7980 COCKROACHDB = "CockroachDB"
8081 TIDB = "TiDB"
8182
Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.4.1.57 "
21+ VERSION = "1.4.1.58 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_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 @@ -92,6 +92,8 @@ def getFingerprint(self):
9292 fork = FORK .MARIADB
9393 elif inject .checkBooleanExpression ("VERSION() LIKE '%TiDB%'" ):
9494 fork = FORK .TIDB
95+ elif inject .checkBooleanExpression ("@@VERSION_COMMENT LIKE '%Percona%'" ):
96+ fork = FORK .PERCONA
9597 else :
9698 fork = ""
9799
You can’t perform that action at this time.
0 commit comments