Module: Msf::Post::Windows::ExtAPI

Included in:
LDAP, WMIC
Defined in:
lib/msf/core/post/windows/extapi.rb

Instance Method Summary collapse

Instance Method Details

#load_extapiObject


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

def load_extapi
  if session.extapi
    return true
  else
    begin
      return session.core.use("extapi")
    rescue Errno::ENOENT
      print_error("Unable to load Extended API.")
      return false
    end
  end
end