Land #9994, restore some SMB mixin aliases, add local definition

GSoC/Meterpreter_Web_Console
Brent Cook 2018-05-08 17:10:27 -05:00
commit b27ad91cdb
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,12 @@ module Msf
include Msf::Exploit::Remote::Tcp
include Msf::Exploit::Remote::NTLM::Client
# These constants are unused here, but may be used in some code that
# includes this. Local definitions should be preferred.
SIMPLE = Rex::Proto::SMB::SimpleClient
XCEPT = Rex::Proto::SMB::Exceptions
CONST = Rex::Proto::SMB::Constants
# Alias over the Rex DCERPC protocol modules
DCERPCPacket = Rex::Proto::DCERPC::Packet
DCERPCClient = Rex::Proto::DCERPC::Client

View File

@ -5,6 +5,8 @@ module Exploit::Remote::SMB::Client::Psexec_MS17_010
include Msf::Exploit::Remote::SMB::Client::PipeAuditor
include Msf::Exploit::Remote::Tcp
CONST = Rex::Proto::SMB::Constants
def initialize(info = {})
super
register_options([