lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_wrapper.rb in librex-0.0.68 vs lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_wrapper.rb in librex-0.0.70
- old
+ new
@@ -4,24 +4,24 @@
module Meterpreter
module Extensions
module Stdapi
module Railgun
class DLLWrapper
- attr_reader :_client, :_dll
+ attr_reader :_client, :_dll
- def initialize(dll, client)
- @_dll = dll
- @_client = client
- end
+ 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
+ # 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
+ def method_missing(sym, *args)
+ _dll.call_function(sym, args, _client)
+ end
end
end; end; end; end; end; end