Minor update

This commit is contained in:
Miroslav Stampar
2019-11-11 11:20:12 +01:00
parent 8cdc66fdf7
commit eb696e17f4
2 changed files with 4 additions and 3 deletions

View File

@@ -87,6 +87,9 @@ def vulnTest():
thread.start()
for options, checks in TESTS:
status = '%d/%d (%d%%) ' % (count, len(TESTS), round(100.0 * count / len(TESTS)))
dataToStdout("\r[%s] [INFO] complete: %s" % (time.strftime("%X"), status))
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)
output = shellExec(cmd)
@@ -96,8 +99,6 @@ def vulnTest():
retVal = False
count += 1
status = '%d/%d (%d%%) ' % (count, len(TESTS), round(100.0 * count / len(TESTS)))
dataToStdout("\r[%s] [INFO] complete: %s" % (time.strftime("%X"), status))
clearConsoleLine()
if retVal: