From df2bdad4f9c3b3e6f5ffb98de6bfbee8bfb90d7e Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Thu, 6 Mar 2014 12:57:43 +1100 Subject: [PATCH] Include 'msf/core/exploit/powershell' Prevent: ``` [-] /pentest/exploit/metasploit-framework/modules/exploits/windows/misc/hp_dataprotector_exec_bar.rb: NameError uninitialized constant Msf::Exploit::Powershell ``` --- modules/exploits/windows/misc/hp_dataprotector_exec_bar.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/exploits/windows/misc/hp_dataprotector_exec_bar.rb b/modules/exploits/windows/misc/hp_dataprotector_exec_bar.rb index eb68294c1f..b0e0256094 100644 --- a/modules/exploits/windows/misc/hp_dataprotector_exec_bar.rb +++ b/modules/exploits/windows/misc/hp_dataprotector_exec_bar.rb @@ -5,6 +5,7 @@ require 'msf/core' +require 'msf/core/exploit/powershell' class Metasploit3 < Msf::Exploit::Remote