diff --git a/lib/core/settings.py b/lib/core/settings.py index 0524156c4..3b38876da 100644 --- 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.11.1" +VERSION = "1.1.11.2" 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 2296b1b5b..138197f18 100644 --- a/lib/utils/search.py +++ b/lib/utils/search.py @@ -122,7 +122,7 @@ def _search(dork): elif choice == '2': url = "https://www.bing.com/search?q=%s&first=%d" % (urlencode(dork, convall=True), (gpage - 1) * 10 + 1) regex = BING_REGEX - elif choice == '1': + else: url = "https://duckduckgo.com/d.js?" url += "q=%s&p=%d&s=100" % (urlencode(dork, convall=True), gpage) regex = DUCKDUCKGO_REGEX diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 26fd9f4a8..9d416099c 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,7 +46,7 @@ ec6a778b0e74749b916caead78ba88b7 lib/core/option.py 760d9df2a27ded29109b390ab202e72d lib/core/replication.py a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py 02d4762140a72fd44668d3dab5eabda9 lib/core/session.py -6268552b330145e1311ed84d099af922 lib/core/settings.py +d5835ec26ff3cde1f1bafedc593dbde6 lib/core/settings.py 35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py 7c9f2af3c0a8dd89223cfe07b0a0b826 lib/core/target.py @@ -111,7 +111,7 @@ f20ae1aa6a8d1d5373ace1f7ed3476a7 lib/utils/htmlentities.py 06cd61b634ca6142281da699a504cc85 lib/utils/pivotdumptable.py 56c922696bd3d05d7be96e73b0650c4e lib/utils/progress.py a861c303293e2e6665b02a57f67fc050 lib/utils/purge.py -f6652791bf98a42e3e1532180a0710cf lib/utils/search.py +760290393e35e5f53f15ba46e09d59dd lib/utils/search.py b6898e77038842c853932a6662c011be lib/utils/sqlalchemy.py 36b95bc7fa2cf4f005a86e516a8cba68 lib/utils/timeout.py a3b51d28b0824d4d2333a3dd792497ac lib/utils/versioncheck.py