Removing some unused imports

This commit is contained in:
Miroslav Štampar 2026-06-28 02:09:50 +02:00
parent c51b4c072f
commit 7e610b8716
9 changed files with 10 additions and 17 deletions

View file

@ -7,7 +7,6 @@ See the file 'LICENSE' for copying permission
import copy
import threading
import types
from thirdparty.odict import OrderedDict
from thirdparty.six.moves import collections_abc as _collections

View file

@ -6,7 +6,6 @@ See the file 'LICENSE' for copying permission
"""
import codecs
import collections
import difflib
import inspect
import logging

View file

@ -20,7 +20,7 @@ from lib.core.enums import OS
from thirdparty import six
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.10.6.165"
VERSION = "1.10.6.166"
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)

View file

@ -9,7 +9,6 @@ import socket
import threading
import time
from lib.core.data import conf
from lib.core.settings import KEEPALIVE_IDLE_TIMEOUT
from lib.core.settings import KEEPALIVE_MAX_REQUESTS
from thirdparty.six.moves import http_client as _http_client

View file

@ -22,7 +22,6 @@ from lib.core.enums import CUSTOM_LOGGING
from lib.core.enums import HTTP_HEADER
from lib.core.enums import REDIRECTION
from lib.core.exception import SqlmapBaseException
from lib.core.exception import SqlmapConnectionException
from lib.core.settings import BING_REGEX
from lib.core.settings import DUCKDUCKGO_REGEX
from lib.core.settings import DUMMY_SEARCH_USER_AGENT

View file

@ -13,7 +13,6 @@ import sys
from lib.core.common import fetchRandomAgent
from lib.core.data import conf
from lib.core.data import kb
from lib.core.data import paths
from lib.core.enums import HTTP_HEADER
from lib.core.enums import PLACE