File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.4.11.10 "
21+ VERSION = "1.4.11.11 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_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 @@ -963,6 +963,8 @@ def _format_action_invocation(self, action):
963963 argv [i ] = ""
964964 elif argv [i ].startswith ("--data-raw" ):
965965 argv [i ] = argv [i ].replace ("--data-raw" , "--data" , 1 )
966+ elif argv [i ].startswith ("--drop-cookie" ):
967+ argv [i ] = argv [i ].replace ("--drop-cookie" , "--drop-set-cookie" , 1 )
966968 elif any (argv [i ].startswith (_ ) for _ in ("--tamper" , "--ignore-code" , "--skip" )):
967969 key = re .search (r"\-?\-(\w+)\b" , argv [i ]).group (1 )
968970 index = auxIndexes .get (key , None )
You can’t perform that action at this time.
0 commit comments