append metasploit lib to PYTHONPATH
parent
037fdf854e
commit
a57067c4a7
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue