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 18
18
from thirdparty .six import unichr as _unichr
19
19
20
20
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21
- VERSION = "1.4.12.24 "
21
+ VERSION = "1.4.12.25 "
22
22
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
23
23
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
24
24
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 @@ -1009,7 +1009,7 @@ def _format_action_invocation(self, action):
1009
1009
found = True
1010
1010
if not found :
1011
1011
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 :
1013
1013
dataToStdout ("[!] detected usage of long-option without a starting hyphen ('%s')\n " % argv [i ])
1014
1014
raise SystemExit
1015
1015
You can’t perform that action at this time.
0 commit comments