Parent

Methods

Class/Module Index [+]

Quicksearch

Rex::Post::Meterpreter::Extensions::Stdapi::Railgun::Def::Def_crypt32

Public Class Methods

create_dll(dll_path = 'crypt32') click to toggle source
# File lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb, line 11
def self.create_dll(dll_path = 'crypt32')
        dll = DLL.new(dll_path, ApiConstants.manager)

        dll.add_function('CryptUnprotectData', 'BOOL', [
                        ['PBLOB','pDataIn', 'in'],
                        ['PWCHAR', 'szDataDescr', 'out'],
                        ['PBLOB', 'pOptionalEntropy', 'in'],
                        ['PDWORD', 'pvReserved', 'in'],
                        ['PBLOB', 'pPromptStruct', 'in'],
                        ['DWORD', 'dwFlags', 'in'],
                        ['PBLOB', 'pDataOut', 'out']
                ])

        return dll
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.