From 6ab1cf8caae829d02e3d42101f77e5b4d4c8d1de Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 26 Nov 2019 16:22:23 +0100 Subject: [PATCH] Minor cleanup --- extra/vulnserver/vulnserver.py | 2 -- lib/core/settings.py | 2 +- lib/request/httpshandler.py | 1 - lib/request/redirecthandler.py | 1 - lib/utils/crawler.py | 1 - 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/extra/vulnserver/vulnserver.py b/extra/vulnserver/vulnserver.py index d70f52f17..401d77c47 100644 --- a/extra/vulnserver/vulnserver.py +++ b/extra/vulnserver/vulnserver.py @@ -17,7 +17,6 @@ import threading import traceback if sys.version_info >= (3, 0): - from http.client import FOUND from http.client import INTERNAL_SERVER_ERROR from http.client import NOT_FOUND from http.client import OK @@ -29,7 +28,6 @@ if sys.version_info >= (3, 0): else: from BaseHTTPServer import BaseHTTPRequestHandler from BaseHTTPServer import HTTPServer - from httplib import FOUND from httplib import INTERNAL_SERVER_ERROR from httplib import NOT_FOUND from httplib import OK diff --git a/lib/core/settings.py b/lib/core/settings.py index 15526e2cf..aa62de0ca 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.3.11.105" +VERSION = "1.3.11.106" 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/request/httpshandler.py b/lib/request/httpshandler.py index ff08ea3a2..dd12c13db 100644 --- a/lib/request/httpshandler.py +++ b/lib/request/httpshandler.py @@ -11,7 +11,6 @@ import socket from lib.core.common import filterNone from lib.core.common import getSafeExString -from lib.core.data import conf from lib.core.data import kb from lib.core.data import logger from lib.core.exception import SqlmapConnectionException diff --git a/lib/request/redirecthandler.py b/lib/request/redirecthandler.py index daf27fbd5..b74665108 100644 --- a/lib/request/redirecthandler.py +++ b/lib/request/redirecthandler.py @@ -10,7 +10,6 @@ import time import types from lib.core.common import getHostHeader -from lib.core.common import getSafeExString from lib.core.common import logHTTPTraffic from lib.core.common import readInput from lib.core.convert import getUnicode diff --git a/lib/utils/crawler.py b/lib/utils/crawler.py index d99b51fcb..f88e33bef 100644 --- a/lib/utils/crawler.py +++ b/lib/utils/crawler.py @@ -28,7 +28,6 @@ from lib.core.data import conf from lib.core.data import kb from lib.core.data import logger from lib.core.datatype import OrderedSet -from lib.core.enums import HTTPMETHOD from lib.core.enums import MKSTEMP_PREFIX from lib.core.exception import SqlmapConnectionException from lib.core.exception import SqlmapSyntaxException