Sha256: aa57895b15456dbe7907ab852ee363fda178ca9e02ec2919e22321625dff83cb

Contents?: true

Size: 579 Bytes

Versions: 1

Compression:

Stored size: 579 Bytes

Contents

module Rex
module Post
module Meterpreter
module Extensions
module Stdapi
module Railgun
module Def

class Def_crypt32

	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

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/def/def_crypt32.rb