diff --git a/lib/core/revision.py b/lib/core/revision.py index f0d682e39..dffae987c 100644 --- a/lib/core/revision.py +++ b/lib/core/revision.py @@ -38,7 +38,7 @@ def getRevisionNumber(): while True: if filePath and os.path.isfile(filePath): with openFile(filePath, "r") as f: - content = f.read() + content = getText(f.read()) filePath = None if content.startswith("ref: "): filePath = os.path.join(_, ".git", content.replace("ref: ", "")).strip() diff --git a/lib/core/settings.py b/lib/core/settings.py index dba61f55a..932f28671 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.7.7" +VERSION = "1.3.7.8" 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)