Sha256: e90da4eef275a742739c93d77791e1c0a2d176132521ce5692af2fea1a5b9c84

Contents?: true

Size: 524 Bytes

Versions: 15

Compression:

Stored size: 524 Bytes

Contents

# -*- coding: binary -*-
module Rex
module Post
module Meterpreter
module Extensions
module Stdapi
module Railgun
class DLLWrapper
  attr_reader :_client, :_dll

  def initialize(dll, client)
    @_dll    = dll
    @_client = client
  end

  # For backwards compatability. People check if functions are added this way
  # XXX: Depricate this
  def functions
    # warn 'Depricated.'
    _dll.functions
  end

  def method_missing(sym, *args)
    _dll.call_function(sym, args, _client)
  end
end
end; end; end; end; end; end

Version data entries

15 entries across 15 versions & 3 rubygems

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