From 9ad3cd5176115fa66f79179352d22787da895b8c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 8 Nov 2019 22:39:55 +0100 Subject: [PATCH] Fixes #4004 --- lib/core/settings.py | 2 +- plugins/generic/takeover.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 5e0705f9e..c0b1e2202 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.11.20" +VERSION = "1.3.11.21" 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/plugins/generic/takeover.py b/plugins/generic/takeover.py index 42033b2c2..7d1de8f37 100644 --- a/plugins/generic/takeover.py +++ b/plugins/generic/takeover.py @@ -84,7 +84,7 @@ class Takeover(Abstraction, Metasploit, ICMPsh, Registry): try: self.initEnv(web=web) except SqlmapFilePathException: - if not web: + if not web and not conf.direct: infoMsg = "falling back to web backdoor method..." logger.info(infoMsg)