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

Skip to content

Commit eb696e1

Browse files
committed
Minor update
1 parent 8cdc66f commit eb696e1

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.11.25"
21+
VERSION = "1.3.11.26"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/core/testing.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ def _thread():
8787
thread.start()
8888

8989
for options, checks in TESTS:
90+
status = '%d/%d (%d%%) ' % (count, len(TESTS), round(100.0 * count / len(TESTS)))
91+
dataToStdout("\r[%s] [INFO] complete: %s" % (time.strftime("%X"), status))
92+
9093
cmd = "%s %s -u http://%s:%d/?id=1 --batch %s" % (sys.executable, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "sqlmap.py")), address, port, options)
9194
output = shellExec(cmd)
9295

@@ -96,8 +99,6 @@ def _thread():
9699
retVal = False
97100

98101
count += 1
99-
status = '%d/%d (%d%%) ' % (count, len(TESTS), round(100.0 * count / len(TESTS)))
100-
dataToStdout("\r[%s] [INFO] complete: %s" % (time.strftime("%X"), status))
101102

102103
clearConsoleLine()
103104
if retVal:

0 commit comments

Comments
 (0)