Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 138aa6d commit 8a84c25Copy full SHA for 8a84c25
1 file changed
waf/tencent.py
@@ -0,0 +1,23 @@
1
+#!/usr/bin/env python
2
+
3
+"""
4
+Copyright (c) 2006-2017 sqlmap developers (http://sqlmap.org/)
5
+See the file 'doc/COPYING' for copying permission
6
7
8
+import re
9
10
+from lib.core.settings import WAF_ATTACK_VECTORS
11
12
+__product__ = "TencentCloud Web Application Firewall (TencentCloud)"
13
14
+def detect(get_page):
15
+ retval = False
16
17
+ for vector in WAF_ATTACK_VECTORS:
18
+ page, headers, code = get_page(get=vector)
19
+ retval = code == 405 and "waf.tencent-cloud.com" in (page or "")
20
+ if retval:
21
+ break
22
23
+ return retval
0 commit comments