From bb6e8fd4ce411c5d312b3586d87419f363bd2364 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 15 Dec 2016 16:09:09 +0100 Subject: [PATCH] Minor bug fix (reported privately via email) --- lib/core/settings.py | 2 +- lib/utils/crawler.py | 2 ++ txt/checksum.md5 | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 2221868d2..5bddc0031 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.0.12.9" +VERSION = "1.0.12.10" 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 67d80fa89..db2724211 100644 --- a/lib/utils/crawler.py +++ b/lib/utils/crawler.py @@ -110,6 +110,8 @@ def crawl(target): threadData.shared.deeper.add(url) if re.search(r"(.*?)\?(.+)", url): threadData.shared.value.add(url) + except ValueError: # for non-valid links + pass except UnicodeEncodeError: # for non-HTML files pass finally: diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 26e8f998b..6652c838f 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py b3a62d41a5af6cd7fa733b6227febb0c lib/core/replication.py 99a2b496b9d5b546b335653ca801153f lib/core/revision.py 7c15dd2777af4dac2c89cab6df17462e lib/core/session.py -3112bd43b07ac2ca9c7c50bbb1575e4c lib/core/settings.py +904783b704023a9bbf40a3474a1f05ba lib/core/settings.py 7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py 23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py c3ace7874a536d801f308cf1fd03df99 lib/core/target.py @@ -100,7 +100,7 @@ cc9c82cfffd8ee9b25ba3af6284f057e lib/techniques/union/__init__.py f5d6884cdeed28281187c111d3e49e3b lib/techniques/union/test.py 12ce1bb7ee5f1f23f58be12fe9fa8472 lib/techniques/union/use.py 26c1babc6289fac9056f8b21d10f3bb1 lib/utils/api.py -8cdc8c1e663c3b92a756fb7b02cc3c02 lib/utils/crawler.py +7c94b6c3088b68975d468c86d47b1b03 lib/utils/crawler.py 84604ae4cf0f31602b412036b51f5dae lib/utils/deps.py 4dfd3a95e73e806f62372d63bc82511f lib/utils/getch.py f71a7b0aec145ba77edd3c4543621fb9 lib/utils/hashdb.py