From abd429d48bb9b883153c5a474e77dd987d4ee5f5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 6 Jan 2015 14:11:53 +0100 Subject: [PATCH] New waf script added --- waf/senginx.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 waf/senginx.py diff --git a/waf/senginx.py b/waf/senginx.py new file mode 100644 index 000000000..0c154917a --- /dev/null +++ b/waf/senginx.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python + +""" +Copyright (c) 2006-2014 sqlmap developers (http://sqlmap.org/) +See the file 'doc/COPYING' for copying permission +""" + +import re + +from lib.core.enums import HTTP_HEADER +from lib.core.settings import WAF_ATTACK_VECTORS + +__product__ = "SEnginx (Neusoft Corporation)" + +def detect(get_page): + retval = False + + for vector in WAF_ATTACK_VECTORS: + page, headers, code = get_page(get=vector) + retval = "SENGINX-ROBOT-MITIGATION" in page + if retval: + break + + return retval