diff --git a/modules/exploits/windows/smb/psexec_psh.rb b/modules/exploits/windows/smb/psexec_psh.rb index 05134ef2ef..bb61a3fe3b 100644 --- a/modules/exploits/windows/smb/psexec_psh.rb +++ b/modules/exploits/windows/smb/psexec_psh.rb @@ -14,6 +14,9 @@ class Metasploit3 < Msf::Exploit::Remote # Exploit mixins should be called first include Msf::Exploit::Remote::SMB::Client::Psexec include Msf::Exploit::Powershell + include Msf::Module::Deprecated + + deprecated(Date.new(2016, 1, 1), 'exploit/windows/smb/psexec') def initialize(info = {}) super(update_info(info,