Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab49fe6

Browse files
committed
New WAF script
1 parent f47b493 commit ab49fe6

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

waf/expressionengine.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env python
2+
3+
"""
4+
Copyright (c) 2006-2014 sqlmap developers (http://sqlmap.org/)
5+
See the file 'doc/COPYING' for copying permission
6+
"""
7+
8+
from lib.core.settings import WAF_ATTACK_VECTORS
9+
10+
__product__ = "ExpressionEngine (EllisLab)"
11+
12+
def detect(get_page):
13+
retval = False
14+
15+
for vector in WAF_ATTACK_VECTORS:
16+
page, headers, code = get_page(get=vector)
17+
retval = "Invalid GET Data" in page
18+
if retval:
19+
break
20+
21+
return retval

0 commit comments

Comments
 (0)