File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ class FORK(object):
101101 ENTERPRISEDB = "EnterpriseDB"
102102 YELLOWBRICK = "Yellowbrick"
103103 IRIS = "Iris"
104+ YUGABYTEDB = "YugabyteDB"
104105
105106class CUSTOM_LOGGING (object ):
106107 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.5.1.26 "
21+ VERSION = "1.5.1.27 "
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 @@ -39,6 +39,8 @@ def getFingerprint(self):
3939 fork = FORK .YELLOWBRICK
4040 elif inject .checkBooleanExpression ("VERSION() LIKE '%EnterpriseDB%'" ): # Reference: https://www.enterprisedb.com/edb-docs/d/edb-postgres-advanced-server/user-guides/user-guide/11/EDB_Postgres_Advanced_Server_Guide.1.087.html
4141 fork = FORK .ENTERPRISEDB
42+ elif inject .checkBooleanExpression ("VERSION() LIKE '%YB-%'" ): # Reference: https://github.com/yugabyte/yugabyte-db/issues/2447#issue-499562926
43+ fork = FORK .YUGABYTEDB
4244 elif inject .checkBooleanExpression ("AURORA_VERSION() LIKE '%'" ): # Reference: https://aws.amazon.com/premiumsupport/knowledge-center/aurora-version-number/
4345 fork = FORK .AURORA
4446 else :
You can’t perform that action at this time.
0 commit comments