include mixin to psexec_ms17_010
parent
4b0cb7631c
commit
e6a9f2609f
|
@ -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 = [
|
||||
|
|
|
@ -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 = {})
|
||||
|
|
Loading…
Reference in New Issue