From ab08273d825197d554defb3e1907e602530b8fd4 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 23 Apr 2017 23:50:30 +0200 Subject: [PATCH] Fixes #2501 --- lib/core/settings.py | 2 +- lib/utils/crawler.py | 3 ++- txt/checksum.md5 | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 4dcdd385f..a41254b48 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.4.47" +VERSION = "1.1.4.48" 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/utils/crawler.py b/lib/utils/crawler.py index 4a0b9c138..27fc8fbdb 100644 --- a/lib/utils/crawler.py +++ b/lib/utils/crawler.py @@ -20,6 +20,7 @@ from lib.core.common import getSafeExString from lib.core.common import openFile from lib.core.common import readInput from lib.core.common import safeCSValue +from lib.core.common import urldecode from lib.core.data import conf from lib.core.data import kb from lib.core.data import logger @@ -187,7 +188,7 @@ def crawl(target): logger.warn(warnMsg) else: for url in threadData.shared.value: - kb.targets.add((url, None, None, None, None)) + kb.targets.add((urldecode(url, kb.pageEncoding), None, None, None, None)) storeResultsToFile(kb.targets) diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 9a5c14ab6..f11b4323f 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,7 +46,7 @@ ebb778c2d26eba8b34d7d8658e4105a6 lib/core/optiondict.py d8e9250f3775119df07e9070eddccd16 lib/core/replication.py 785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py 40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py -bd71147e4717967efce365ea9399a978 lib/core/settings.py +6701fe0edb634ee4b66e065dbf026d95 lib/core/settings.py d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py 2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py 155e2d3fda87b2e3ffa4f7a770513946 lib/core/target.py @@ -100,7 +100,7 @@ d3da4c7ceaf57c4687a052d58722f6bb lib/techniques/dns/use.py d17ca7177a29d7d07094fc7dd747d4c5 lib/techniques/union/use.py 67f0ad96ec2207d7e59c788b858afd6d lib/utils/api.py 7d10ba0851da8ee9cd3c140dcd18798e lib/utils/brute.py -2b6c7f906e5da25bcd8865c1f86a1dfb lib/utils/crawler.py +ed70f1ca9113664043ec9e6778e48078 lib/utils/crawler.py ba12c69a90061aa14d848b8396e79191 lib/utils/deps.py 3b9fd519164e0bf275d5fd361c3f11ff lib/utils/getch.py ccfdad414ce2ec0c394c3deaa39a82bf lib/utils/hashdb.py