2013-02-22 00:13:48 +04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
"""
|
2015-01-06 17:02:16 +03:00
|
|
|
Copyright (c) 2006-2015 sqlmap developers (http://sqlmap.org/)
|
2013-02-22 00:13:48 +04:00
|
|
|
See the file 'doc/COPYING' for copying permission
|
|
|
|
"""
|
|
|
|
|
|
|
|
from lib.core.common import randomInt
|
|
|
|
|
|
|
|
__product__ = "ISA Server (Microsoft)"
|
|
|
|
|
|
|
|
def detect(get_page):
|
|
|
|
page, headers, code = get_page(host=randomInt(6))
|
2013-02-26 18:30:11 +04:00
|
|
|
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
|