From b7db28a89bf932881eecf2907d2a3de750a5287c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 10 Oct 2017 16:14:39 +0200 Subject: [PATCH] Minor refactoring (unused imports) --- lib/core/settings.py | 2 +- lib/techniques/blind/inference.py | 1 - tamper/charunicodeescape.py | 2 -- txt/checksum.md5 | 6 +++--- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 41b7a17c9..78bb3149f 100755 --- 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.10.8" +VERSION = "1.1.10.9" 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/lib/techniques/blind/inference.py b/lib/techniques/blind/inference.py index af0fbe5e3..9ace78b80 100644 --- a/lib/techniques/blind/inference.py +++ b/lib/techniques/blind/inference.py @@ -39,7 +39,6 @@ from lib.core.settings import CHAR_INFERENCE_MARK from lib.core.settings import INFERENCE_BLANK_BREAK from lib.core.settings import INFERENCE_UNKNOWN_CHAR from lib.core.settings import INFERENCE_GREATER_CHAR -from lib.core.settings import INFERENCE_GREATER_EQUALS_CHAR from lib.core.settings import INFERENCE_EQUALS_CHAR from lib.core.settings import INFERENCE_MARKER from lib.core.settings import INFERENCE_NOT_EQUALS_CHAR diff --git a/tamper/charunicodeescape.py b/tamper/charunicodeescape.py index 8fc8c7aca..f1588f919 100644 --- a/tamper/charunicodeescape.py +++ b/tamper/charunicodeescape.py @@ -5,11 +5,9 @@ Copyright (c) 2006-2017 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ -import os import string from lib.core.enums import PRIORITY -from lib.core.common import singleTimeWarnMessage __priority__ = PRIORITY.LOWEST diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 54b644800..5784d78f1 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,7 +46,7 @@ e8e9fd4f224ead0caa1569312b5b2582 lib/core/optiondict.py d8e9250f3775119df07e9070eddccd16 lib/core/replication.py 785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py 40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py -587bd6c44f842c95680d1e471470733d lib/core/settings.py +4c8495e82b931c8f6103928d9f3f977d lib/core/settings.py d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py 2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py effc153067a00bd43461bfc1cdec1122 lib/core/target.py @@ -87,7 +87,7 @@ ac541a0d38e4ecb4e41e97799a7235f4 lib/takeover/registry.py ff1af7f85fdf4f2a5369f2927d149824 lib/takeover/udf.py 8df5a334823b724a2207a28c94f6fe3d lib/takeover/web.py b4c3264b9b6dcbf00cb7bffa447d1f6c lib/takeover/xp_cmdshell.py -8ee04b14ce8a71996b9df83bf709fb55 lib/techniques/blind/inference.py +9c51e595c5a09f8291e5fadbbcd663c9 lib/techniques/blind/inference.py 310efc965c862cfbd7b0da5150a5ad36 lib/techniques/blind/__init__.py 310efc965c862cfbd7b0da5150a5ad36 lib/techniques/dns/__init__.py ab1601a7f429b47637c4fb8af703d0f1 lib/techniques/dns/test.py @@ -234,7 +234,7 @@ e6e3ae32bc3c3d5acb4b93289e3fe698 tamper/bluecoat.py 8576274cc84f77a7cfd936521e89397c tamper/chardoubleencode.py 6a7a04c35b6d5853ad6f449581c79ce4 tamper/charencode.py 893e7d907bcd370394b70a30d502be2b tamper/charunicodeencode.py -5c35346f93da0c1500c1205b8bb3962e tamper/charunicodeescape.py +c5135acfc9ce803b4ef608aeddd1921f tamper/charunicodeescape.py 596883203fbdd81ee760e4a00071bf39 tamper/commalesslimit.py f341a48112354a50347546fa73f4f531 tamper/commalessmid.py 1a368a32530c04a11a531cd21d587682 tamper/commentbeforeparentheses.py