We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 601d118 commit 965c151Copy full SHA for 965c151
1 file changed
tamper/unionalltounion.py
@@ -0,0 +1,28 @@
1
+#!/usr/bin/env python
2
+
3
+"""
4
+$Id$
5
6
+Copyright (c) 2006-2012 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.enums import PRIORITY
13
14
+__priority__ = PRIORITY.HIGHEST
15
16
+def dependencies():
17
+ pass
18
19
+def tamper(payload):
20
+ """
21
+ Replaces UNION ALL SELECT with UNION SELECT
22
23
+ Example:
24
+ * Input: -1 UNION ALL SELECT
25
+ * Output: -1 UNION SELECT
26
27
28
+ return payload.replace("UNION ALL SELECT", "UNION SELECT") if payload else payload
0 commit comments