mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Trivial update
This commit is contained in:
parent
5f2bb88037
commit
2d05174545
18 changed files with 71 additions and 71 deletions
|
|
@ -63,7 +63,7 @@ class Agent(object):
|
|||
|
||||
if Backend.getIdentifiedDbms() in (DBMS.ORACLE,): # non-standard object(s) make problems to a database connector while returned (e.g. XMLTYPE)
|
||||
_, _, _, _, _, _, fieldsToCastStr, _ = self.getFields(query)
|
||||
for field in fieldsToCastStr.split(","):
|
||||
for field in fieldsToCastStr.split(','):
|
||||
query = query.replace(field, self.nullAndCastField(field))
|
||||
|
||||
if kb.tamperFunctions:
|
||||
|
|
|
|||
|
|
@ -1002,7 +1002,7 @@ def readInput(message, default=None, checkBatch=True, boolean=False):
|
|||
if retVal is None:
|
||||
if checkBatch and conf.get("batch"):
|
||||
if isListLike(default):
|
||||
options = ",".join(getUnicode(opt, UNICODE_ENCODING) for opt in default)
|
||||
options = ','.join(getUnicode(opt, UNICODE_ENCODING) for opt in default)
|
||||
elif default:
|
||||
options = getUnicode(default, UNICODE_ENCODING)
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ See the file 'doc/COPYING' for copying permission
|
|||
from lib.core.datatype import AttribDict
|
||||
|
||||
_defaults = {
|
||||
"csvDel": ",",
|
||||
"csvDel": ',',
|
||||
"timeSec": 5,
|
||||
"googlePage": 1,
|
||||
"verbose": 1,
|
||||
|
|
|
|||
|
|
@ -1766,13 +1766,13 @@ def _cleanupOptions():
|
|||
conf.torType = conf.torType.upper()
|
||||
|
||||
if conf.col:
|
||||
conf.col = re.sub(r"\s*,\s*", ",", conf.col)
|
||||
conf.col = re.sub(r"\s*,\s*", ',', conf.col)
|
||||
|
||||
if conf.excludeCol:
|
||||
conf.excludeCol = re.sub(r"\s*,\s*", ",", conf.excludeCol)
|
||||
conf.excludeCol = re.sub(r"\s*,\s*", ',', conf.excludeCol)
|
||||
|
||||
if conf.binaryFields:
|
||||
conf.binaryFields = re.sub(r"\s*,\s*", ",", conf.binaryFields)
|
||||
conf.binaryFields = re.sub(r"\s*,\s*", ',', conf.binaryFields)
|
||||
|
||||
if any((conf.proxy, conf.proxyFile, conf.tor)):
|
||||
conf.disablePrecon = True
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME
|
|||
from lib.core.enums import OS
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.1.4.32"
|
||||
VERSION = "1.1.4.33"
|
||||
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)
|
||||
|
|
|
|||
|
|
@ -378,7 +378,7 @@ def unionUse(expression, unpack=True, dump=False):
|
|||
del threadData.shared.buffered[0]
|
||||
|
||||
if conf.verbose == 1 and not (threadData.resumed and kb.suppressResumeInfo) and not threadData.shared.showEta:
|
||||
_ = ",".join("\"%s\"" % _ for _ in flattenValue(arrayizeValue(items))) if not isinstance(items, basestring) else items
|
||||
_ = ','.join("\"%s\"" % _ for _ in flattenValue(arrayizeValue(items))) if not isinstance(items, basestring) else items
|
||||
status = "[%s] [INFO] %s: %s" % (time.strftime("%X"), "resumed" if threadData.resumed else "retrieved", _ if kb.safeCharEncode else safecharencode(_))
|
||||
|
||||
if len(status) > width:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue