mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-28 20:43:49 +03:00
Language update
This commit is contained in:
parent
28576bf08e
commit
42de887b05
|
@ -2863,7 +2863,7 @@ def setOptimize():
|
||||||
conf.nullConnection = not any((conf.data, conf.textOnly, conf.titles, conf.string, conf.notString, conf.regexp, conf.tor))
|
conf.nullConnection = not any((conf.data, conf.textOnly, conf.titles, conf.string, conf.notString, conf.regexp, conf.tor))
|
||||||
|
|
||||||
if not conf.nullConnection:
|
if not conf.nullConnection:
|
||||||
debugMsg = "turning off --null-connection switch used indirectly by switch -o"
|
debugMsg = "turning off switch '--null-connection' used indirectly by switch '-o'"
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
|
|
||||||
def initTechnique(technique=None):
|
def initTechnique(technique=None):
|
||||||
|
|
|
@ -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.55"
|
VERSION = "1.0.5.56"
|
||||||
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")
|
||||||
|
|
|
@ -806,12 +806,12 @@ def cmdLineParser(argv=None):
|
||||||
parser.formatter._format_option_strings = parser.formatter.format_option_strings
|
parser.formatter._format_option_strings = parser.formatter.format_option_strings
|
||||||
parser.formatter.format_option_strings = type(parser.formatter.format_option_strings)(_, parser, type(parser))
|
parser.formatter.format_option_strings = type(parser.formatter.format_option_strings)(_, parser, type(parser))
|
||||||
|
|
||||||
# Dirty hack for making a short option -hh
|
# Dirty hack for making a short option '-hh'
|
||||||
option = parser.get_option("--hh")
|
option = parser.get_option("--hh")
|
||||||
option._short_opts = ["-hh"]
|
option._short_opts = ["-hh"]
|
||||||
option._long_opts = []
|
option._long_opts = []
|
||||||
|
|
||||||
# Dirty hack for inherent help message of switch -h
|
# Dirty hack for inherent help message of switch '-h'
|
||||||
option = parser.get_option("-h")
|
option = parser.get_option("-h")
|
||||||
option.help = option.help.capitalize().replace("this help", "basic help")
|
option.help = option.help.capitalize().replace("this help", "basic help")
|
||||||
|
|
||||||
|
|
|
@ -111,8 +111,8 @@ class Xp_cmdshell:
|
||||||
errMsg += "storing console output within the back-end file system "
|
errMsg += "storing console output within the back-end file system "
|
||||||
errMsg += "does not have writing permissions for the DBMS process. "
|
errMsg += "does not have writing permissions for the DBMS process. "
|
||||||
errMsg += "You are advised to manually adjust it with option "
|
errMsg += "You are advised to manually adjust it with option "
|
||||||
errMsg += "--tmp-path switch or you will not be able to retrieve "
|
errMsg += "'--tmp-path' or you won't be able to retrieve "
|
||||||
errMsg += "the commands output"
|
errMsg += "the command(s) output"
|
||||||
logger.error(errMsg)
|
logger.error(errMsg)
|
||||||
elif isNoneValue(output):
|
elif isNoneValue(output):
|
||||||
logger.error("unable to retrieve xp_cmdshell output")
|
logger.error("unable to retrieve xp_cmdshell output")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user