Skip to content

Commit df2bdad

Browse files
committed
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 ```
1 parent 9d0743a commit df2bdad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/exploits/windows/misc/hp_dataprotector_exec_bar.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66

77
require 'msf/core'
8+
require 'msf/core/exploit/powershell'
89

910

1011
class Metasploit3 < Msf::Exploit::Remote

0 commit comments

Comments
 (0)