File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ class FORK(object):
8989 GREENPLUM = "Greenplum"
9090 DRIZZLE = "Drizzle"
9191 IGNITE = "Apache Ignite"
92+ AURORA = "Aurora"
9293
9394class CUSTOM_LOGGING (object ):
9495 PAYLOAD = 9
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.2.12 "
21+ VERSION = "1.4.2.13 "
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 @@ -96,6 +96,8 @@ def getFingerprint(self):
9696 fork = FORK .DRIZZLE
9797 elif inject .checkBooleanExpression ("@@VERSION_COMMENT LIKE '%Percona%'" ):
9898 fork = FORK .PERCONA
99+ elif inject .checkBooleanExpression ("AURORA_VERSION() LIKE '%'" ): # Reference: https://aws.amazon.com/premiumsupport/knowledge-center/aurora-version-number/
100+ fork = FORK .AURORA
99101 else :
100102 fork = ""
101103
Original file line number Diff line number Diff line change @@ -31,10 +31,12 @@ def getFingerprint(self):
3131 if fork is None :
3232 if inject .checkBooleanExpression ("VERSION() LIKE '%CockroachDB%'" ):
3333 fork = FORK .COCKROACHDB
34- elif inject .checkBooleanExpression ("VERSION() LIKE '%Redshift%'" ): # Reference: https://dataedo.com/kb/query/amazon-redshift/check-server-version
34+ elif inject .checkBooleanExpression ("VERSION() LIKE '%Redshift%'" ): # Reference: https://dataedo.com/kb/query/amazon-redshift/check-server-version
3535 fork = FORK .REDSHIFT
36- elif inject .checkBooleanExpression ("VERSION() LIKE '%Greenplum%'" ): # Reference: http://www.sqldbpros.com/wordpress/wp-content/uploads/2014/08/what-version-of-greenplum.png
36+ elif inject .checkBooleanExpression ("VERSION() LIKE '%Greenplum%'" ): # Reference: http://www.sqldbpros.com/wordpress/wp-content/uploads/2014/08/what-version-of-greenplum.png
3737 fork = FORK .GREENPLUM
38+ elif inject .checkBooleanExpression ("AURORA_VERSION() LIKE '%'" ): # Reference: https://aws.amazon.com/premiumsupport/knowledge-center/aurora-version-number/
39+ fork = FORK .AURORA
3840 else :
3941 fork = ""
4042
You can’t perform that action at this time.
0 commit comments