mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Better approach for #1320
This commit is contained in:
parent
bcb25823e6
commit
e623ee66ad
8 changed files with 11 additions and 11 deletions
|
|
@ -862,7 +862,7 @@ def cmdLineParser():
|
|||
for arg in shlex.split(command):
|
||||
argv.append(getUnicode(arg, encoding=sys.stdin.encoding))
|
||||
except ValueError, ex:
|
||||
raise SqlmapSyntaxException, "something went wrong during command line parsing ('%s')" % getUnicode(ex)
|
||||
raise SqlmapSyntaxException, "something went wrong during command line parsing ('%s')" % ex.message
|
||||
|
||||
# Hide non-basic options in basic help case
|
||||
for i in xrange(len(argv)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue