append metasploit lib to PYTHONPATH

bug/bundler_fix
Brent Cook 2017-04-26 18:13:46 -05:00
parent 037fdf854e
commit a57067c4a7
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class Msf::Modules::External::Bridge
self.running = false self.running = false
self.path = module_path self.path = module_path
self.env = { self.env = {
'PYTHONPATH' => File.expand_path('../python', __FILE__) 'PYTHONPATH' => ENV['PYTHONPATH'] + File::PATH_SEPARATOR + File.expand_path('../python', __FILE__)
} }
end end