File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
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.6.10.0 "
23
+ VERSION = "1.6.10.1 "
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 @@ -986,7 +986,7 @@ def _format_action_invocation(self, action):
986
986
argv [i ] = argv [i ].replace ("--auth-creds" , "--auth-cred" , 1 )
987
987
elif argv [i ].startswith ("--drop-cookie" ):
988
988
argv [i ] = argv [i ].replace ("--drop-cookie" , "--drop-set-cookie" , 1 )
989
- elif any ( argv [ i ]. startswith ( _ ) for _ in ( "-- tamper" , "-- ignore-code" , "--skip" ) ):
989
+ elif re . search ( r"\A(--( tamper| ignore-code|skip))(?!-) " , argv [ i ] ):
990
990
key = re .search (r"\-?\-(\w+)\b" , argv [i ]).group (1 )
991
991
index = auxIndexes .get (key , None )
992
992
if index is None :
You can’t perform that action at this time.
0 commit comments