diff --git a/lib/core/settings.py b/lib/core/settings.py index 1f4917b3f..4d887ebde 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (<major>.<minor>.<month>.<monthly commit>) -VERSION = "1.5.10.0" +VERSION = "1.5.10.1" 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 50211523d..573263254 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -111,9 +111,11 @@ def vulnTest(): success = True break except: - time.sleep(1) + pass finally: s.close() + if not success: + time.sleep(1) if not success: logger.error("problem occurred in vulnserver instantiation (address: 'http://%s:%s', alive: %s)" % (address, port, vulnserver._alive))