FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sqlmap/waf/secureiis.py at master · getcode2git/sqlmap · GitHub
getcode2git
/
sqlmap
Public
forked from
sqlmapproject/sqlmap
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
sqlmap
/
waf
/
secureiis.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (13 loc) · 516 Bytes
Breadcrumbs
sqlmap
/
waf
/
secureiis.py
Copy path
File metadata and controls
17 lines (13 loc) · 516 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python
"""
Copyright (c) 2006-2015 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
):
page
,
headers
,
code
=
get_page
()
retval
=
code
!=
404
page
,
headers
,
code
=
get_page
(
auxHeaders
=
{
HTTP_HEADER
.
TRANSFER_ENCODING
:
'a'
*
1025
,
HTTP_HEADER
.
ACCEPT_ENCODING
:
"identity"
})
retval
=
retval
and
code
==
404
return
retval
Back
|
FazBrowse Home
|
New Git URL