Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5038d7a

Browse files
committed
Removing ugly boolean check results (0 or 1) in output of UNION and ERROR SQLi
1 parent f0b8fbb commit 5038d7a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.6.4"
22+
VERSION = "1.0.6.5"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

lib/techniques/error/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def _errorFields(expression, expressionFields, expressionFieldsList, num=None, e
246246
if len(status) > width:
247247
status = "%s..." % status[:width - 3]
248248

249-
dataToStdout("%s\n" % status, True)
249+
dataToStdout("%s\n" % status)
250250

251251
if isinstance(num, int):
252252
expression = origExpr

lib/techniques/union/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def unionThread():
334334
if len(status) > width:
335335
status = "%s..." % status[:width - 3]
336336

337-
dataToStdout("%s\n" % status, True)
337+
dataToStdout("%s\n" % status)
338338

339339
runThreads(numThreads, unionThread)
340340

0 commit comments

Comments
 (0)