Method: Msf::Exploit::Remote::SMB::Client::PipeAuditor#initialize

Defined in:
lib/msf/core/exploit/remote/smb/client/pipe_auditor.rb

#initialize(info = {}) ⇒ Object



12
13
14
15
16
17
18
19
20
# File 'lib/msf/core/exploit/remote/smb/client/pipe_auditor.rb', line 12

def initialize(info = {})
  super

  named_pipes = File.join(Msf::Config.data_directory, 'wordlists', 'named_pipes.txt')

  register_options([
    OptPath.new('NAMED_PIPES', [true, 'List of named pipes to check', named_pipes])
  ])
end