Sha256: bc0f265103afb4a2314a26924f891e599dbb2c8281f17c05753dd844d8324c24

Contents?: true

Size: 580 Bytes

Versions: 9

Compression:

Stored size: 580 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

9 entries across 9 versions & 1 rubygems

Version Path
librex-0.0.63 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
librex-0.0.54 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
librex-0.0.53 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
librex-0.0.52 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
librex-0.0.51 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
librex-0.0.50 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
librex-0.0.49 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
librex-0.0.48 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
librex-0.0.47 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb