Minor refactoring

This commit is contained in:
Miroslav Stampar
2016-01-07 21:58:10 +01:00
parent c5d3198101
commit b43c1747e0
41 changed files with 44 additions and 44 deletions

View File

@@ -10,7 +10,7 @@ from lib.core.common import randomInt
__product__ = "ISA Server (Microsoft)"
def detect(get_page):
page, headers, code = get_page(host=randomInt(6))
page, _, _ = get_page(host=randomInt(6))
retval = "The server denied the specified Uniform Resource Locator (URL). Contact the server administrator." in (page or "")
retval |= "The ISA Server denied the specified Uniform Resource Locator (URL)" in (page or "")
return retval