| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,24 @@ | |||
| 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 | + import re | ||
| 9 | + | ||
| 10 | + from lib.core.enums import HTTP_HEADER | ||
| 11 | + from lib.core.settings import WAF_ATTACK_VECTORS | ||
| 12 | + | ||
| 13 | + __product__ = "SEnginx (Neusoft Corporation)" | ||
| 14 | + | ||
| 15 | + def detect(get_page): | ||
| 16 | + retval = False | ||
| 17 | + | ||
| 18 | + for vector in WAF_ATTACK_VECTORS: | ||
| 19 | + page, headers, code = get_page(get=vector) | ||
| 20 | + retval = "SENGINX-ROBOT-MITIGATION" in page | ||
| 21 | + if retval: | ||
| 22 | + break | ||
| 23 | + | ||
| 24 | + return retval | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments