From 54e93e53df341c9e4d1bba2ba55b653fb6485512 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 27 Aug 2019 13:41:30 +0200 Subject: [PATCH] Fixes #3898 --- lib/core/settings.py | 2 +- lib/core/update.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 228ab123a..dd18a39fe 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.8.28" +VERSION = "1.3.8.29" 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/update.py b/lib/core/update.py index e844c4a37..9cd588263 100644 --- a/lib/core/update.py +++ b/lib/core/update.py @@ -105,6 +105,7 @@ def update(): dataToStdout("\r[%s] [INFO] update in progress" % time.strftime("%X")) + output = "" try: process = subprocess.Popen("git checkout . && git pull %s HEAD" % GIT_REPOSITORY, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, cwd=paths.SQLMAP_ROOT_PATH) pollProcess(process, True)