File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88value -> urlencode of nonencoded chars in value
99"""
1010def tamper (place , value ):
11- raise sqlmapUnsupportedFeatureException , "can't use tampering module 'charencode.py' with 'URI' type injections"
1211 retVal = value
1312 if value :
1413 if place != "URI" :
@@ -22,5 +21,5 @@ def tamper(place, value):
2221 retVal += '%%%X' % ord (value [i ])
2322 i += 1
2423 else :
25- raise sqlmapUnsupportedFeatureException , "can't use tampering module 'charencode.py ' with 'URI' type injections"
24+ raise sqlmapUnsupportedFeatureException , "can't use tampering module '%s ' with 'URI' type injections" % __name__
2625 return retVal
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ def tamper(place, value):
1111 if place != "URI" :
1212 value = urlencode (value )
1313 else :
14- raise sqlmapUnsupportedFeatureException , "can't use tampering module 'doubleencode.py ' with 'URI' type injections"
14+ raise sqlmapUnsupportedFeatureException , "can't use tampering module '%s ' with 'URI' type injections" % __name__
1515 return value
You can’t perform that action at this time.
0 commit comments