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-b9f4589650da
unstable
James Lee 2011-07-15 23:46:37 +00:00
parent bd07523c35
commit 642cddf620
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ class Driver < Msf::Ui::Driver
run_single("banner") unless opts['DisableBanner']
opts["Plugins"].each do |plug|
run_single("load #{plug}") unless opts['DisableBanner']
run_single("load '#{plug}'")
end if opts["Plugins"]
self.on_command_proc = Proc.new { |command| framework.events.on_ui_command(command) }