Minor patch

This commit is contained in:
Miroslav Stampar 2016-06-23 12:09:51 +02:00
parent 1b863ecf93
commit 733a32de32
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ from lib.core.enums import OS
from lib.core.revision import getRevisionNumber from lib.core.revision import getRevisionNumber
# sqlmap version (<major>.<minor>.<month>.<monthly commit>) # sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.0.6.50" VERSION = "1.0.6.51"
REVISION = getRevisionNumber() REVISION = getRevisionNumber()
STABLE = VERSION.count('.') <= 2 STABLE = VERSION.count('.') <= 2
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

View File

@ -18,7 +18,7 @@ def detect(get_page):
page, _, _ = get_page(get=vector) page, _, _ = get_page(get=vector)
retval = re.search(r"SecureIIS[^<]+Web Server Protection", page or "") is not None retval = re.search(r"SecureIIS[^<]+Web Server Protection", page or "") is not None
retval |= "http://www.eeye.com/SecureIIS/" in (page or "") 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: if retval:
break break