mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Removing ugly boolean check results (0 or 1) in output of UNION and ERROR SQLi
This commit is contained in:
parent
f0b8fbb7fd
commit
5038d7a70a
|
@ -19,7 +19,7 @@ from lib.core.enums import OS
|
|||
from lib.core.revision import getRevisionNumber
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.0.6.4"
|
||||
VERSION = "1.0.6.5"
|
||||
REVISION = getRevisionNumber()
|
||||
STABLE = VERSION.count('.') <= 2
|
||||
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")
|
||||
|
|
|
@ -246,7 +246,7 @@ def _errorFields(expression, expressionFields, expressionFieldsList, num=None, e
|
|||
if len(status) > width:
|
||||
status = "%s..." % status[:width - 3]
|
||||
|
||||
dataToStdout("%s\n" % status, True)
|
||||
dataToStdout("%s\n" % status)
|
||||
|
||||
if isinstance(num, int):
|
||||
expression = origExpr
|
||||
|
|
|
@ -334,7 +334,7 @@ def unionUse(expression, unpack=True, dump=False):
|
|||
if len(status) > width:
|
||||
status = "%s..." % status[:width - 3]
|
||||
|
||||
dataToStdout("%s\n" % status, True)
|
||||
dataToStdout("%s\n" % status)
|
||||
|
||||
runThreads(numThreads, unionThread)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user