From 1f5f2aff0bc31e959c390b331d5498b17116953d Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 9 Oct 2017 14:25:08 +0200 Subject: [PATCH] Adding support for Bing (as a fallback) --- lib/core/settings.py | 5 ++++- lib/utils/search.py | 9 +++++++-- txt/checksum.md5 | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index b5bc0b8fd..77fff2f74 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.10.2" +VERSION = "1.1.10.3" 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) @@ -100,6 +100,9 @@ GOOGLE_REGEX = r"webcache\.googleusercontent\.com/search\?q=cache:[^:]+:([^+]+)\ # Regular expression used for extracting results from DuckDuckGo search DUCKDUCKGO_REGEX = r'"u":"([^"]+)' +# Regular expression used for extracting results from Bing search +BING_REGEX = r'