mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
18 lines
498 B
Python
18 lines
498 B
Python
#!/usr/bin/env python
|
|
|
|
"""
|
|
Copyright (c) 2006-2016 sqlmap developers (http://sqlmap.org/)
|
|
See the file 'doc/COPYING' for copying permission
|
|
"""
|
|
|
|
from lib.core.enums import HTTP_HEADER
|
|
|
|
__product__ = "SecureIIS Web Server Security (BeyondTrust)"
|
|
|
|
def detect(get_page):
|
|
_, _, code = get_page()
|
|
retval = code != 404
|
|
_, _, code = get_page(auxHeaders={HTTP_HEADER.TRANSFER_ENCODING: 'a' * 1025, HTTP_HEADER.ACCEPT_ENCODING: "identity"})
|
|
retval = retval and code == 404
|
|
return retval
|