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.12.24 "
21+ VERSION = "1.4.12.25 "
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 @@ -1009,7 +1009,7 @@ def _format_action_invocation(self, action):
10091009 found = True
10101010 if not found :
10111011 get_groups (parser ).remove (group )
1012- elif '=' in argv [i ] and not argv [i ].startswith ('-' ) and argv [i ].split ('=' )[0 ] in longOptions and re .search (r"\A-\w\Z " , argv [i - 1 ]) is None :
1012+ elif '=' in argv [i ] and not argv [i ].startswith ('-' ) and argv [i ].split ('=' )[0 ] in longOptions and re .search (r"\A-{1,2}\w " , argv [i - 1 ]) is None :
10131013 dataToStdout ("[!] detected usage of long-option without a starting hyphen ('%s')\n " % argv [i ])
10141014 raise SystemExit
10151015
You can’t perform that action at this time.
0 commit comments