From 76b310cc43cb436d8cff8d44590f9dcb4f7dddb7 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 25 Apr 2021 20:36:19 +0200 Subject: [PATCH] Fixes #4650 --- lib/core/settings.py | 2 +- lib/utils/search.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 395a13f11..c3a3e72a0 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.5.4.7" +VERSION = "1.5.4.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) diff --git a/lib/utils/search.py b/lib/utils/search.py index 2b7aee5ea..ca35856d8 100644 --- a/lib/utils/search.py +++ b/lib/utils/search.py @@ -63,7 +63,7 @@ def _search(dork): gpage = conf.googlePage if conf.googlePage > 1 else 1 logger.info("using search result page #%d" % gpage) - url = "https://www.google.com/search?" + url = "http://www.google.com/search?" # NOTE: https version goes to the consent url += "q=%s&" % urlencode(dork, convall=True) url += "num=100&hl=en&complete=0&safe=off&filter=0&btnG=Search" url += "&start=%d" % ((gpage - 1) * 100)