From 733a32de3213ae0bcde6631070a171082ed265ed Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 23 Jun 2016 12:09:51 +0200 Subject: [PATCH] Minor patch --- lib/core/settings.py | 2 +- waf/secureiis.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index a87d86735..a7ce78b3c 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.6.50" +VERSION = "1.0.6.51" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") diff --git a/waf/secureiis.py b/waf/secureiis.py index 4f6ef9638..b162c6e70 100644 --- a/waf/secureiis.py +++ b/waf/secureiis.py @@ -18,7 +18,7 @@ def detect(get_page): page, _, _ = get_page(get=vector) retval = re.search(r"SecureIIS[^<]+Web Server Protection", page or "") is not None retval |= "http://www.eeye.com/SecureIIS/" in (page or "") - retval |= "?subject=SecureIIS Error" in (page or "") + retval |= re.search(r"\?subject=[^>]*SecureIIS Error", page or "") is not None if retval: break