File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.7.10.1 "
23+ VERSION = "1.7.10.2 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_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 77
88from lib .core .compat import xrange
99from lib .core .enums import PRIORITY
10+ from lib .core .settings import REPLACEMENT_MARKER
1011
1112__priority__ = PRIORITY .HIGHEST
1213
@@ -36,6 +37,7 @@ def tamper(payload, **kwargs):
3637 """
3738
3839 if payload and payload .find ("IF" ) > - 1 :
40+ payload = payload .replace ("()" , REPLACEMENT_MARKER )
3941 while payload .find ("IF(" ) > - 1 :
4042 index = payload .find ("IF(" )
4143 depth = 1
@@ -64,4 +66,6 @@ def tamper(payload, **kwargs):
6466 else :
6567 break
6668
69+ payload = payload .replace (REPLACEMENT_MARKER , "()" )
70+
6771 return payload
You can’t perform that action at this time.
0 commit comments