Module: Msf::Post::Windows::Kiwi

Defined in:
lib/msf/core/post/windows/kiwi.rb

Instance Method Summary collapse

Instance Method Details

#initialize(info = {}) ⇒ Object


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

def initialize(info = {})
  super(
    update_info(
      info,
      'Compat' => {
        'Meterpreter' => {
          'Commands' => %w[
            kiwi_exec_cmd
          ]
        }
      }
    )
  )
end

#load_kiwiObject


24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/msf/core/post/windows/kiwi.rb', line 24

def load_kiwi
  if session.kiwi
    return true
  else
    begin
      return session.core.use('kiwi')
    rescue Errno::ENOENT
      print_error('Unable to load Kiwi Mimikatz Extension.')
      return false
    end
  end
end