Sha256: 5afd7ce26613050b3f15a7cfb36abc7f07d8a8bfbc80853c351d6b1cb34300bc

Contents?: true

Size: 604 Bytes

Versions: 2

Compression:

Stored size: 604 Bytes

Contents

# -*- coding: binary -*-
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

2 entries across 2 versions & 1 rubygems

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