Sha256: e95d0ec91db9ad3cdd6e5d2a0fc25e0e608964c573e02826506285fad3ad89c8

Contents?: true

Size: 505 Bytes

Versions: 2

Compression:

Stored size: 505 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

2 entries across 2 versions & 1 rubygems

Version Path
librex-0.0.68 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_wrapper.rb
librex-0.0.66 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_wrapper.rb