Removing some unused stuff (mainly imports)

This commit is contained in:
Miroslav Stampar 2013-01-18 11:50:02 +01:00
parent a7cab63796
commit 33ea811c6c
5 changed files with 0 additions and 23 deletions

View File

@ -5,16 +5,9 @@ Copyright (c) 2006-2012 sqlmap developers (http://sqlmap.org/)
See the file 'doc/COPYING' for copying permission See the file 'doc/COPYING' for copying permission
""" """
try:
import hashlib
except:
import md5
import sha
import json import json
import pickle import pickle
import sys import sys
import struct
from lib.core.settings import IS_WIN from lib.core.settings import IS_WIN
from lib.core.settings import UNICODE_ENCODING from lib.core.settings import UNICODE_ENCODING

View File

@ -44,9 +44,6 @@ class SqlmapSilentQuitException(SqlmapBaseException):
class SqlmapUserQuitException(SqlmapBaseException): class SqlmapUserQuitException(SqlmapBaseException):
pass pass
class SqlmapRegExprException(SqlmapBaseException):
pass
class SqlmapSyntaxException(SqlmapBaseException): class SqlmapSyntaxException(SqlmapBaseException):
pass pass

View File

@ -111,7 +111,6 @@ from lib.core.settings import NULL
from lib.core.settings import ORACLE_ALIASES from lib.core.settings import ORACLE_ALIASES
from lib.core.settings import PARAMETER_SPLITTING_REGEX from lib.core.settings import PARAMETER_SPLITTING_REGEX
from lib.core.settings import PGSQL_ALIASES from lib.core.settings import PGSQL_ALIASES
from lib.core.settings import PYVERSION
from lib.core.settings import SITE from lib.core.settings import SITE
from lib.core.settings import SQLITE_ALIASES from lib.core.settings import SQLITE_ALIASES
from lib.core.settings import SUPPORTED_DBMS from lib.core.settings import SUPPORTED_DBMS

View File

@ -11,7 +11,6 @@ import subprocess
import sys import sys
import time import time
from lib.core.common import dataToStdout
from lib.core.settings import IS_WIN from lib.core.settings import IS_WIN
if IS_WIN: if IS_WIN:

View File

@ -5,32 +5,22 @@ Copyright (c) 2006-2012 sqlmap developers (http://sqlmap.org/)
See the file 'doc/COPYING' for copying permission See the file 'doc/COPYING' for copying permission
""" """
import json
import logging
import os import os
import shutil import shutil
import sys
import tempfile import tempfile
import types
from subprocess import PIPE from subprocess import PIPE
from lib.controller.controller import start
from lib.core.common import unArrayizeValue from lib.core.common import unArrayizeValue
from lib.core.convert import base64pickle from lib.core.convert import base64pickle
from lib.core.convert import base64unpickle from lib.core.convert import base64unpickle
from lib.core.convert import hexencode from lib.core.convert import hexencode
from lib.core.convert import jsonize from lib.core.convert import jsonize
from lib.core.convert import stdoutencode
from lib.core.data import paths from lib.core.data import paths
from lib.core.data import kb
from lib.core.data import logger from lib.core.data import logger
from lib.core.datatype import AttribDict from lib.core.datatype import AttribDict
from lib.core.defaults import _defaults from lib.core.defaults import _defaults
from lib.core.exception import SqlmapMissingDependence
from lib.core.optiondict import optDict from lib.core.optiondict import optDict
from lib.core.option import init
from lib.core.settings import UNICODE_ENCODING
from lib.core.subprocessng import Popen as execute from lib.core.subprocessng import Popen as execute
from lib.core.subprocessng import send_all from lib.core.subprocessng import send_all
from lib.core.subprocessng import recv_some from lib.core.subprocessng import recv_some
@ -43,7 +33,6 @@ from thirdparty.bottle.bottle import request
from thirdparty.bottle.bottle import response from thirdparty.bottle.bottle import response
from thirdparty.bottle.bottle import run from thirdparty.bottle.bottle import run
from thirdparty.bottle.bottle import static_file from thirdparty.bottle.bottle import static_file
from thirdparty.bottle.bottle import template
RESTAPI_SERVER_HOST = "127.0.0.1" RESTAPI_SERVER_HOST = "127.0.0.1"
RESTAPI_SERVER_PORT = 8775 RESTAPI_SERVER_PORT = 8775