mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-09 14:11:29 +00:00
Patch for an Issue #1341
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user