Fix typo
MSP-11046 `ActiveSupport::OrderedOptions` automatically create an attribute for any missing keys, so when `options.console.resource` was used it would return `nil` instead of the erroring. The correct option name was `options.console.resources` (note the pluralization).
This commit is contained in:
parent
225c6da616
commit
e051272a20
|
@ -47,7 +47,7 @@ class Metasploit::Framework::Command::Console < Metasploit::Framework::Command::
|
|||
driver_options['ModulePath'] = options.modules.path
|
||||
driver_options['Plugins'] = options.console.plugins
|
||||
driver_options['RealReadline'] = options.console.real_readline
|
||||
driver_options['Resource'] = options.console.resource
|
||||
driver_options['Resource'] = options.console.resources
|
||||
driver_options['XCommands'] = options.console.commands
|
||||
|
||||
@driver_options = driver_options
|
||||
|
|
Loading…
Reference in New Issue