mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor style update
This commit is contained in:
parent
77ba63b060
commit
c12e51173a
|
@ -278,7 +278,7 @@ def _unionTestByCharBruteforce(comment, place, parameter, value, prefix, suffix)
|
|||
test = readInput(message, default="Y")
|
||||
if test[0] not in ("y", "Y"):
|
||||
warnMsg += "usage of option '--union-char' "
|
||||
warnMsg += "(e.g. --union-char=1) "
|
||||
warnMsg += "(e.g. '--union-char=1') "
|
||||
else:
|
||||
conf.uChar = kb.uChar = str(randomInt(2))
|
||||
validPayload, vector = _unionConfirm(comment, place, parameter, prefix, suffix, count)
|
||||
|
@ -288,7 +288,7 @@ def _unionTestByCharBruteforce(comment, place, parameter, value, prefix, suffix)
|
|||
warnMsg += "and/or try to force the "
|
||||
else:
|
||||
warnMsg += "forcing the "
|
||||
warnMsg += "back-end DBMS (e.g. --dbms=mysql) "
|
||||
warnMsg += "back-end DBMS (e.g. '--dbms=mysql') "
|
||||
|
||||
if not all([validPayload, vector]) and not warnMsg.endswith("consider "):
|
||||
singleTimeWarnMessage(warnMsg)
|
||||
|
|
|
@ -316,7 +316,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:
|
||||
status = "[%s] [INFO] %s: %s" % (time.strftime("%X"), "resumed" if threadData.resumed else "retrieved", safecharencode(",".join("\"%s\"" % _ for _ in flattenValue(arrayizeValue(items)))))
|
||||
status = "[%s] [INFO] %s: %s" % (time.strftime("%X"), "resumed" if threadData.resumed else "retrieved", safecharencode(",".join("'%s'" % _ for _ in flattenValue(arrayizeValue(items)))))
|
||||
|
||||
if len(status) > width:
|
||||
status = "%s..." % status[:width - 3]
|
||||
|
|
Loading…
Reference in New Issue
Block a user