mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Minor update
This commit is contained in:
parent
f09072b2b6
commit
808068d70a
|
@ -19,7 +19,7 @@ from lib.core.enums import OS
|
||||||
from lib.core.revision import getRevisionNumber
|
from lib.core.revision import getRevisionNumber
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.0.5.16"
|
VERSION = "1.0.5.17"
|
||||||
REVISION = getRevisionNumber()
|
REVISION = getRevisionNumber()
|
||||||
STABLE = VERSION.count('.') <= 2
|
STABLE = VERSION.count('.') <= 2
|
||||||
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")
|
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")
|
||||||
|
|
65
sqlmap.py
65
sqlmap.py
|
@ -27,36 +27,43 @@ import warnings
|
||||||
warnings.filterwarnings(action="ignore", message=".*was already imported", category=UserWarning)
|
warnings.filterwarnings(action="ignore", message=".*was already imported", category=UserWarning)
|
||||||
warnings.filterwarnings(action="ignore", category=DeprecationWarning)
|
warnings.filterwarnings(action="ignore", category=DeprecationWarning)
|
||||||
|
|
||||||
from lib.controller.controller import start
|
|
||||||
from lib.core.common import banner
|
|
||||||
from lib.core.common import createGithubIssue
|
|
||||||
from lib.core.common import dataToStdout
|
|
||||||
from lib.core.common import getSafeExString
|
|
||||||
from lib.core.common import getUnicode
|
|
||||||
from lib.core.common import maskSensitiveData
|
|
||||||
from lib.core.common import setPaths
|
|
||||||
from lib.core.common import weAreFrozen
|
|
||||||
from lib.core.data import cmdLineOptions
|
|
||||||
from lib.core.data import conf
|
|
||||||
from lib.core.data import kb
|
|
||||||
from lib.core.data import logger
|
from lib.core.data import logger
|
||||||
from lib.core.data import paths
|
|
||||||
from lib.core.common import unhandledExceptionMessage
|
try:
|
||||||
from lib.core.exception import SqlmapBaseException
|
from lib.controller.controller import start
|
||||||
from lib.core.exception import SqlmapShellQuitException
|
from lib.core.common import banner
|
||||||
from lib.core.exception import SqlmapSilentQuitException
|
from lib.core.common import createGithubIssue
|
||||||
from lib.core.exception import SqlmapUserQuitException
|
from lib.core.common import dataToStdout
|
||||||
from lib.core.option import initOptions
|
from lib.core.common import getSafeExString
|
||||||
from lib.core.option import init
|
from lib.core.common import getUnicode
|
||||||
from lib.core.profiling import profile
|
from lib.core.common import maskSensitiveData
|
||||||
from lib.core.settings import IS_WIN
|
from lib.core.common import setPaths
|
||||||
from lib.core.settings import LEGAL_DISCLAIMER
|
from lib.core.common import weAreFrozen
|
||||||
from lib.core.settings import VERSION
|
from lib.core.data import cmdLineOptions
|
||||||
from lib.core.testing import smokeTest
|
from lib.core.data import conf
|
||||||
from lib.core.testing import liveTest
|
from lib.core.data import kb
|
||||||
from lib.parse.cmdline import cmdLineParser
|
from lib.core.data import paths
|
||||||
from lib.utils.api import setRestAPILog
|
from lib.core.common import unhandledExceptionMessage
|
||||||
from lib.utils.api import StdDbOut
|
from lib.core.exception import SqlmapBaseException
|
||||||
|
from lib.core.exception import SqlmapShellQuitException
|
||||||
|
from lib.core.exception import SqlmapSilentQuitException
|
||||||
|
from lib.core.exception import SqlmapUserQuitException
|
||||||
|
from lib.core.option import initOptions
|
||||||
|
from lib.core.option import init
|
||||||
|
from lib.core.profiling import profile
|
||||||
|
from lib.core.settings import IS_WIN
|
||||||
|
from lib.core.settings import LEGAL_DISCLAIMER
|
||||||
|
from lib.core.settings import VERSION
|
||||||
|
from lib.core.testing import smokeTest
|
||||||
|
from lib.core.testing import liveTest
|
||||||
|
from lib.parse.cmdline import cmdLineParser
|
||||||
|
from lib.utils.api import setRestAPILog
|
||||||
|
from lib.utils.api import StdDbOut
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
errMsg = "user aborted"
|
||||||
|
logger.error(errMsg)
|
||||||
|
|
||||||
|
raise SystemExit
|
||||||
|
|
||||||
def modulePath():
|
def modulePath():
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user