Sha256: 0b178aa07de38157377e6cfc2c1fdf2ef922f9b6098a009bce4b801c8f9acdb6

Contents?: true

Size: 600 Bytes

Versions: 14

Compression:

Stored size: 600 Bytes

Contents

# -*- coding: binary -*-
module Rex
module Post
module Meterpreter
module Extensions
module Stdapi
module Railgun
module Def

class Def_psapi

  def self.create_dll(dll_path = 'psapi')
    dll = DLL.new(dll_path, ApiConstants.manager)

    dll.add_function('EnumDeviceDrivers', 'BOOL',[
      %w(PBLOB lpImageBase out),
      %w(DWORD cb in),
      %w(PDWORD lpcbNeeded out)
    ])

    dll.add_function('GetDeviceDriverBaseNameA', 'DWORD', [
      %w(LPVOID ImageBase in),
      %w(PBLOB lpBaseName out),
      %w(DWORD nSize in)
    ])

    return dll
  end

end

end; end; end; end; end; end; end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
rex-2.0.13 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
rex-2.0.12 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
rex-2.0.11 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
rex-2.0.10 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
rex-2.0.9 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
rex-2.0.8 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
rex-2.0.7 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
rex-2.0.5 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
rex-2.0.4 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
dstruct-0.0.1 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
rex-2.0.3 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
librex-0.0.999 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
rex-2.0.2 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb
librex-0.0.71 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_psapi.rb