Sha256: 17c1deea1d8c28674edca2ec701bdfd247f5c16c8a0047f582ee87b4d46cfaf2

Contents?: true

Size: 643 Bytes

Versions: 15

Compression:

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

15 entries across 15 versions & 3 rubygems

Version Path
rex-2.0.13 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
rex-2.0.12 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
rex-2.0.11 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
rex-2.0.10 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
rex-2.0.9 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
rex-2.0.8 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
rex-2.0.7 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
rex-2.0.5 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
rex-2.0.4 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
dstruct-0.0.1 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
rex-2.0.3 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
librex-0.0.999 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
rex-2.0.2 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
librex-0.0.71 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb
librex-0.0.70 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_crypt32.rb