From addb2445b71ed4d7547dbc1f1e510d0190de3418 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 15 May 2017 00:34:13 +0200 Subject: [PATCH] Minor patch --- lib/core/settings.py | 2 +- lib/request/basic.py | 2 +- txt/checksum.md5 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 04745232c..ade2412ec 100755 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.1.5.6" +VERSION = "1.1.5.7" 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/request/basic.py b/lib/request/basic.py index fc3685cd1..b60129413 100644 --- a/lib/request/basic.py +++ b/lib/request/basic.py @@ -204,7 +204,7 @@ def checkCharEncoding(encoding, warn=True): # Reference: http://philip.html5.org/data/charsets-2.html if encoding in translate: encoding = translate[encoding] - elif encoding in ("null", "{charset}", "*") or not re.search(r"\w", encoding): + elif encoding in ("null", "{charset}", "charset", "*") or not re.search(r"\w", encoding): return None # Reference: http://www.iana.org/assignments/character-sets diff --git a/txt/checksum.md5 b/txt/checksum.md5 index eeb91bdcc..95cb99257 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,7 +46,7 @@ edcfce0850771e6454acef244d5c5760 lib/core/optiondict.py d8e9250f3775119df07e9070eddccd16 lib/core/replication.py 785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py 40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py -2e457cff3c7287f054db7e199879dee8 lib/core/settings.py +699656804ddc4ae6841147f32537ba32 lib/core/settings.py d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py 2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py 8136241fdbdb99a5dc0e51ba72918f6e lib/core/target.py @@ -66,7 +66,7 @@ ad74fc58fc7214802fd27067bce18dd2 lib/core/unescaper.py 0b010b7cdb2e42b5aa0caa59607279ad lib/parse/payloads.py 997d0452e6fc22411f81a334511bcb3d lib/parse/sitemap.py 403d873f1d2fd0c7f73d83f104e41850 lib/request/basicauthhandler.py -aa8abda6eab79646b1759c0653925328 lib/request/basic.py +7b3f95016175b9700bb2cc09c9e0fa91 lib/request/basic.py ef48de622b0a6b4a71df64b0d2785ef8 lib/request/comparison.py 108ca3607d42bd4923277019a8d6db7d lib/request/connect.py fb6b788d0016ab4ec5e5f661f0f702ad lib/request/direct.py