mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13: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:
|
||||
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:
|
||||
configFileParser(inputOptions.configFile)
|
||||
|
||||
Reference in New Issue
Block a user