From e30155b657e3ad7d85a2a0657b44d3cb2403d169 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 7 Jun 2019 10:37:13 +0200 Subject: [PATCH] Minor patch (multi-target resume) --- lib/core/settings.py | 2 +- lib/core/target.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 56b9b3a60..c3ef8be52 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.3.6.33" +VERSION = "1.3.6.34" 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/target.py b/lib/core/target.py index 19fc91934..886bde54b 100644 --- a/lib/core/target.py +++ b/lib/core/target.py @@ -463,6 +463,7 @@ def _resumeHashDBValues(): injection.data = dict(_ for _ in injection.data.items() if _[0] in conf.technique) if injection not in kb.injections: kb.injections.append(injection) + kb.vulnHosts.add(conf.hostname) _resumeDBMS() _resumeOS()