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 a71fcfb commit 4b641afCopy full SHA for 4b641af
1 file changed
tamper/doubleencode.py
@@ -1,11 +1,15 @@
1
import re
2
3
from lib.core.convert import urlencode
4
+from lib.core.exception import sqlmapUnsupportedFeatureException
5
6
"""
7
Tampering value -> urlencode(value)
8
9
def tamper(place, value):
10
if value:
- value = urlencode(value)
11
+ if place != "URI":
12
+ value = urlencode(value)
13
+ else:
14
+ raise sqlmapUnsupportedFeatureException, "can't use tampering module 'doubleencode.py' with 'URI' type injections"
15
return value
0 commit comments