Module: Msf::Auxiliary::LLMNR

Includes:
MDNS
Defined in:
lib/msf/core/auxiliary/llmnr.rb

Overview

This module provides methods for working with LLMNR

Instance Method Summary collapse

Methods included from MDNS

#build_probe, #describe_response, #query_class, #query_class_name, #query_class_num, #query_name, #query_type, #query_type_name, #query_type_num, #request_info, #setup

Instance Method Details

#initialize(info = {}) ⇒ Object

Initializes an instance of an auxiliary module that uses LLMNR



9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/msf/core/auxiliary/llmnr.rb', line 9

def initialize(info = {})
  super
  register_options(
    [
      OptAddressRange.new('RHOSTS', [true, 'The multicast address or CIDR range of targets to query', '224.0.0.252']),
      Opt::RPORT(5355),
      # TODO: allow more than one
      OptString.new('NAME', [true, 'The name to query', 'localhost']),
      OptString.new('TYPE', [true, 'The query type (name, # or TYPE#)', 'A'])
    ],
    self.class
  )
end