From 5d6b9720026c2683425e6cf0c4c859286752b384 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 11 Dec 2017 14:49:30 +0100 Subject: [PATCH] Switching Informix dump from regular to pivotdumptable --- lib/core/settings.py | 2 +- plugins/generic/entries.py | 4 +++- txt/checksum.md5 | 2 +- xml/queries.xml | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index d127e9f3e..152fafb8b 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.1.12.11" +VERSION = "1.1.12.12" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/plugins/generic/entries.py b/plugins/generic/entries.py index a4e877e4a..43c87cf2b 100644 --- a/plugins/generic/entries.py +++ b/plugins/generic/entries.py @@ -303,13 +303,15 @@ class Entries: continue - elif Backend.getIdentifiedDbms() in (DBMS.ACCESS, DBMS.SYBASE, DBMS.MAXDB, DBMS.MSSQL): + elif Backend.getIdentifiedDbms() in (DBMS.ACCESS, DBMS.SYBASE, DBMS.MAXDB, DBMS.MSSQL, DBMS.INFORMIX): if Backend.isDbms(DBMS.ACCESS): table = tbl elif Backend.getIdentifiedDbms() in (DBMS.SYBASE, DBMS.MSSQL): table = "%s.%s" % (conf.db, tbl) elif Backend.isDbms(DBMS.MAXDB): table = "%s.%s" % (conf.db, tbl) + elif Backend.isDbms(DBMS.INFORMIX): + table = "%s:%s" % (conf.db, tbl) if Backend.isDbms(DBMS.MSSQL): try: diff --git a/txt/checksum.md5 b/txt/checksum.md5 index da6e2da22..e1024063f 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,7 +46,7 @@ f872699e948d0692ce11b54781da814c lib/core/log.py 760d9df2a27ded29109b390ab202e72d lib/core/replication.py a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py 02d4762140a72fd44668d3dab5eabda9 lib/core/session.py -51d5d97293138acfd70568c9f20eaf8f lib/core/settings.py +8b4e97576189f033d919e9642e423d73 lib/core/settings.py 35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py d93501771b41315f9fb949305b6ed257 lib/core/target.py diff --git a/xml/queries.xml b/xml/queries.xml index f4a177485..1610a19a8 100644 --- a/xml/queries.xml +++ b/xml/queries.xml @@ -776,7 +776,7 @@ - +