Module: Msf::Exploit::Remote::MsLsat

Defined in:
lib/msf/core/exploit/remote/ms_lsat.rb

Instance Method Summary collapse

Instance Method Details

#lookup_sids(policy_handle, sids, lookup_level) ⇒ Object



11
12
13
14
15
16
17
18
19
# File 'lib/msf/core/exploit/remote/ms_lsat.rb', line 11

def lookup_sids(policy_handle, sids, lookup_level)
  sids = [sids] unless sids.is_a?(Array)

  self.lsarpc_pipe.lsar_lookup_sids(
    policy_handle: policy_handle,
    sids: sids,
    lookup_level: lookup_level
  )
end