File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.7.6.6 "
23
+ VERSION = "1.7.7.0 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
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 @@ -1001,6 +1001,9 @@ def _format_action_invocation(self, action):
1001
1001
argv [i ] = argv [i ].replace ("--auth-creds" , "--auth-cred" , 1 )
1002
1002
elif argv [i ].startswith ("--drop-cookie" ):
1003
1003
argv [i ] = argv [i ].replace ("--drop-cookie" , "--drop-set-cookie" , 1 )
1004
+ elif re .search (r"\A--tamper[^=\s]" , argv [i ]):
1005
+ argv [i ] = ""
1006
+ continue
1004
1007
elif re .search (r"\A(--(tamper|ignore-code|skip))(?!-)" , argv [i ]):
1005
1008
key = re .search (r"\-?\-(\w+)\b" , argv [i ]).group (1 )
1006
1009
index = auxIndexes .get (key , None )
You can’t perform that action at this time.
0 commit comments