From 6b91b7b7fab2fcb68f002265511bab782446b4b8 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 2 Sep 2016 16:10:11 +0200 Subject: [PATCH] Minor cosmetics --- lib/controller/action.py | 9 +++------ lib/core/settings.py | 2 +- txt/checksum.md5 | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/lib/controller/action.py b/lib/controller/action.py index 79544cc82..a61021969 100644 --- a/lib/controller/action.py +++ b/lib/controller/action.py @@ -74,8 +74,7 @@ def action(): if conf.getPasswordHashes: try: - conf.dumper.userSettings("database management system users password hashes", - conf.dbmsHandler.getPasswordHashes(), "password hash", CONTENT_TYPE.PASSWORDS) + conf.dumper.userSettings("database management system users password hashes", conf.dbmsHandler.getPasswordHashes(), "password hash", CONTENT_TYPE.PASSWORDS) except SqlmapNoneDataException, ex: logger.critical(ex) except: @@ -83,8 +82,7 @@ def action(): if conf.getPrivileges: try: - conf.dumper.userSettings("database management system users privileges", - conf.dbmsHandler.getPrivileges(), "privilege", CONTENT_TYPE.PRIVILEGES) + conf.dumper.userSettings("database management system users privileges", conf.dbmsHandler.getPrivileges(), "privilege", CONTENT_TYPE.PRIVILEGES) except SqlmapNoneDataException, ex: logger.critical(ex) except: @@ -92,8 +90,7 @@ def action(): if conf.getRoles: try: - conf.dumper.userSettings("database management system users roles", - conf.dbmsHandler.getRoles(), "role", CONTENT_TYPE.ROLES) + conf.dumper.userSettings("database management system users roles", conf.dbmsHandler.getRoles(), "role", CONTENT_TYPE.ROLES) except SqlmapNoneDataException, ex: logger.critical(ex) except: diff --git a/lib/core/settings.py b/lib/core/settings.py index 68c8bbbaa..631f7da0b 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.9.3" +VERSION = "1.0.9.4" REVISION = getRevisionNumber() TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} diff --git a/txt/checksum.md5 b/txt/checksum.md5 index bacc42287..c6e647892 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -19,7 +19,7 @@ b46521e29ea3d813bab5aeb16cac6498 extra/shutils/duplicates.py 05615626222060120450518136b14ba9 extra/shutils/regressiontest.py cc9c82cfffd8ee9b25ba3af6284f057e extra/sqlharvest/__init__.py 4f2f817596540d82f9fcc0c5b2228beb extra/sqlharvest/sqlharvest.py -b704c0f943c015f6247cfae20048ae8e lib/controller/action.py +2daa39e4d59526acb4772b6c47eb315f lib/controller/action.py d1451b43f3ac80bfbea8657e288865f8 lib/controller/checks.py 7c5ba631796f12d6de9b667e4cc7812b lib/controller/controller.py 5ae8f657fd4e8026fcc9624f5b5533fe lib/controller/handler.py @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py 5ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py 99a2b496b9d5b546b335653ca801153f lib/core/revision.py 7c15dd2777af4dac2c89cab6df17462e lib/core/session.py -2939d36e508d1af1d68c036c62e67edf lib/core/settings.py +c8d3437361cee294f4946eb65211623a lib/core/settings.py 7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py 23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py 0bc2fae1dec18cdd11954b22358293f2 lib/core/target.py