From 7d147f613f7d43c90322214b3de55e16aa87d6d1 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 17 Jul 2017 22:24:51 +0200 Subject: [PATCH] Fixes #2611 --- lib/core/settings.py | 2 +- lib/takeover/web.py | 2 +- txt/checksum.md5 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 3ea2fb9ed..4e9df508d 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.7.15" +VERSION = "1.1.7.16" 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/takeover/web.py b/lib/takeover/web.py index 73b9fe707..d19724ca6 100644 --- a/lib/takeover/web.py +++ b/lib/takeover/web.py @@ -207,7 +207,7 @@ class Web: headers = {} been = set([conf.url]) - for match in re.finditer(r"=['\"]((https?):)?(//[^/'\"]+)?(/[\w/.-]*)\bwp-", kb.originalPage, re.I): + for match in re.finditer(r"=['\"]((https?):)?(//[^/'\"]+)?(/[\w/.-]*)\bwp-", kb.originalPage or "", re.I): url = "%s%s" % (conf.url.replace(conf.path, match.group(4)), "wp-content/wp-db.php") if url not in been: try: diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 9512c1645..d34910966 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -46,7 +46,7 @@ b9ff4e622c416116bee6024c0f050349 lib/core/enums.py d8e9250f3775119df07e9070eddccd16 lib/core/replication.py 785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py 40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py -68eee8e5cded862a7b123de3d7a94584 lib/core/settings.py +d8dae956ce5141a2189ceae2c9356490 lib/core/settings.py d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py 2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py 4416fdcab26b286a5a3a88e75aa60044 lib/core/target.py @@ -85,7 +85,7 @@ c6bc7961a186baabe0a9f5b7e0d8974b lib/takeover/icmpsh.py c90c993b020a6ae0f0e497fd84f37466 lib/takeover/metasploit.py ac541a0d38e4ecb4e41e97799a7235f4 lib/takeover/registry.py d466eab3ff82dbe29dc820e303eb4cff lib/takeover/udf.py -b7dd3a2697a08108ddc9a4264922c2e8 lib/takeover/web.py +261c03b06ad74eb0b594c8ade5039bdc lib/takeover/web.py 604b087dc52dbcb4c3938ad1bf63829c lib/takeover/xp_cmdshell.py 201e7e69f9161dfa3aa10d83f690a488 lib/techniques/blind/inference.py 310efc965c862cfbd7b0da5150a5ad36 lib/techniques/blind/__init__.py