Sha256: 672986bd52b82f6a1a8f6e79958fa0f36b03946cda3042d680db9502280687e4

Contents?: true

Size: 480 Bytes

Versions: 1

Compression:

Stored size: 480 Bytes

Contents

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

1 entries across 1 versions & 1 rubygems

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