From eec048daf8cbedb0c7d28c760d5988cda03e3687 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 6 May 2019 01:46:41 +0200 Subject: [PATCH] Minor patch --- lib/core/common.py | 2 +- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index 3b10135d2..4fcf8fab0 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -3577,7 +3577,7 @@ def createGithubIssue(errMsg, excMsg): req = _urllib.request.Request(url="https://api.github.com/repos/sqlmapproject/sqlmap/issues", data=getBytes(json.dumps(data)), headers={HTTP_HEADER.AUTHORIZATION: "token %s" % decodeBase64(GITHUB_REPORT_OAUTH_TOKEN, binary=False), HTTP_HEADER.USER_AGENT: fetchRandomAgent()}) try: - content = _urllib.request.urlopen(req).read() + content = getText(_urllib.request.urlopen(req).read()) except Exception as ex: content = None _excMsg = getSafeExString(ex) diff --git a/lib/core/settings.py b/lib/core/settings.py index e49cf6eed..766f7b495 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -VERSION = "1.3.5.25" +VERSION = "1.3.5.26" 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)