fix startup-time plugin loading when there is a space in the path.
git-svn-id: file:///home/svn/framework3/trunk@13189 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
bd07523c35
commit
642cddf620
|
@ -361,7 +361,7 @@ class Driver < Msf::Ui::Driver
|
||||||
run_single("banner") unless opts['DisableBanner']
|
run_single("banner") unless opts['DisableBanner']
|
||||||
|
|
||||||
opts["Plugins"].each do |plug|
|
opts["Plugins"].each do |plug|
|
||||||
run_single("load #{plug}") unless opts['DisableBanner']
|
run_single("load '#{plug}'")
|
||||||
end if opts["Plugins"]
|
end if opts["Plugins"]
|
||||||
|
|
||||||
self.on_command_proc = Proc.new { |command| framework.events.on_ui_command(command) }
|
self.on_command_proc = Proc.new { |command| framework.events.on_ui_command(command) }
|
||||||
|
|
Loading…
Reference in New Issue