include mixin to psexec_ms17_010

GSoC/Meterpreter_Web_Console
Auxilus 2018-03-08 23:01:58 +05:30
parent 4b0cb7631c
commit e6a9f2609f
2 changed files with 6 additions and 5 deletions

View File

@ -1,18 +1,18 @@
module Msf
module Auxiliary::PIPEAudit
module Auxiliary::PipeAudit
include Msf::Exploit::Remote::SMB::Client
include Msf::Exploit::Remote::SMB::Client::Authenticated
include Msf::Auxiliary::Scanner
def initialize(info = {})
super
register_options([
OptString.new('RPORT', [true, 'The Target port', 445])
], Msf::Auxiliary::PIPEAudit)
#register_options([
# OptString.new('RPORT', [true, 'The Target port', 445])
# ], Msf::Auxiliary::PIPEAudit)
end
def connect_to_pipe
def connect_to_pipe()
accessible_pipes||=[]
a_pipe_handles||=[]
target_pipes = [

View File

@ -3,6 +3,7 @@ module Msf
module Exploit::Remote::SMB::Client::Psexec_MS17_010
include Msf::Exploit::Remote::SMB::Client::Psexec
include Msf::Auxiliary::PipeAudit
include Msf::Exploit::Remote::Tcp
def initialize(info = {})