mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor update
This commit is contained in:
parent
a33ee69337
commit
0f4d1e79b7
4 changed files with 9 additions and 7 deletions
|
|
@ -21,6 +21,7 @@ from lib.core.common import checkDeprecatedOptions
|
|||
from lib.core.common import checkSystemEncoding
|
||||
from lib.core.common import dataToStdout
|
||||
from lib.core.common import expandMnemonics
|
||||
from lib.core.common import getSafeExString
|
||||
from lib.core.common import getUnicode
|
||||
from lib.core.compat import xrange
|
||||
from lib.core.data import cmdLineOptions
|
||||
|
|
@ -836,7 +837,7 @@ def cmdLineParser(argv=None):
|
|||
for arg in shlex.split(command):
|
||||
argv.append(getUnicode(arg, encoding=sys.stdin.encoding))
|
||||
except ValueError as ex:
|
||||
raise SqlmapSyntaxException("something went wrong during command line parsing ('%s')" % ex.message)
|
||||
raise SqlmapSyntaxException("something went wrong during command line parsing ('%s')" % getSafeExString(ex))
|
||||
|
||||
for i in xrange(len(argv)):
|
||||
if argv[i] == "-hh":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue