From 305b2aa9b519f3586daea0b6bf5be7e662cd7269 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 19 Mar 2018 01:02:28 +0100 Subject: [PATCH] Minor update for smoke test --- lib/core/settings.py | 2 +- lib/core/testing.py | 3 +++ txt/checksum.md5 | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 720e2b42d..2d969bb97 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.2.3.36" +VERSION = "1.2.3.37" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/lib/core/testing.py b/lib/core/testing.py index ec53aa1de..0330a8395 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -17,6 +17,7 @@ import traceback from extra.beep.beep import beep from lib.controller.controller import start +from lib.core.common import checkIntegrity from lib.core.common import clearConsoleLine from lib.core.common import dataToStdout from lib.core.common import getUnicode @@ -87,6 +88,8 @@ def smokeTest(): status = '%d/%d (%d%%) ' % (count, length, round(100.0 * count / length)) dataToStdout("\r[%s] [INFO] complete: %s" % (time.strftime("%X"), status)) + retVal &= checkIntegrity() + clearConsoleLine() if retVal: logger.info("smoke test final result: PASSED") diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 3ee084f16..9519599be 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,11 +46,11 @@ ffa5f01f39b17c8d73423acca6cfe86a lib/core/readlineng.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -8e6e1cf126bfcd8fa6f7deabf06e81c3 lib/core/settings.py +ad8c61259bd3a95c25c4b02d48bd3502 lib/core/settings.py 0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 12f8c42ed742581644f6476a7d80dcf8 lib/core/target.py -72d499ca8d792e90a1ebfb2ad2341a51 lib/core/testing.py +a76f81b3e9e620b3e1d4bdea9160eef8 lib/core/testing.py de9922a29c71a235cb95a916ff925db2 lib/core/threads.py c40758411bb0bd68764d78e0bb72bd0f lib/core/unescaper.py af2d1810b6a7ebc61689a53c253ddbaa lib/core/update.py