File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-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.6.6 "
23+ VERSION = "1.7.7.0 "
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 @@ -1001,6 +1001,9 @@ def _format_action_invocation(self, action):
10011001 argv [i ] = argv [i ].replace ("--auth-creds" , "--auth-cred" , 1 )
10021002 elif argv [i ].startswith ("--drop-cookie" ):
10031003 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
10041007 elif re .search (r"\A(--(tamper|ignore-code|skip))(?!-)" , argv [i ]):
10051008 key = re .search (r"\-?\-(\w+)\b" , argv [i ]).group (1 )
10061009 index = auxIndexes .get (key , None )
You can’t perform that action at this time.
0 commit comments