mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
Patch for an Issue #1341
This commit is contained in:
parent
54d65328bc
commit
8806ce72c1
|
@ -2063,7 +2063,12 @@ def _mergeOptions(inputOptions, overrideOptions):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if inputOptions.pickledOptions:
|
if inputOptions.pickledOptions:
|
||||||
inputOptions = base64unpickle(inputOptions.pickledOptions)
|
try:
|
||||||
|
inputOptions = base64unpickle(inputOptions.pickledOptions)
|
||||||
|
except Exception, ex:
|
||||||
|
errMsg = "provided invalid value '%s' for option '--pickled-options'" % inputOptions.pickledOptions
|
||||||
|
errMsg += " ('%s')" % ex.message if ex.message else ""
|
||||||
|
raise SqlmapSyntaxException(errMsg)
|
||||||
|
|
||||||
if inputOptions.configFile:
|
if inputOptions.configFile:
|
||||||
configFileParser(inputOptions.configFile)
|
configFileParser(inputOptions.configFile)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user