Sha256: c86493b1a5aeb1fff9ec8923f4fbaded91d28afbb8adfc84234cdf99777670e5
Contents?: true
Size: 765 Bytes
Versions: 2
Compression:
Stored size: 765 Bytes
Contents
# -*- coding: binary -*- ## # $Id: substorage.rb 15548 2012-06-29 06:08:20Z rapid7 $ # Version: $Revision: 15548 $ ## ## # Rex::OLE - an OLE implementation # written in 2010 by Joshua J. Drake <jduck [at] metasploit.com> ## module Rex module OLE class SubStorage < DirEntry def initialize(stg) super @_mse = STGTY_STORAGE end def close end # stream handling stuff def create_stream(name, mode=STGM_WRITE) @stg.create_stream(name, mode, self) end def open_stream(name, mode=STGM_READ) @stg.open_stream(name, mode, self) end # storage handling stuff def create_storage(name, mode=STGM_WRITE) @stg.create_storage(name, mode, self) end def open_storage(name, mode=STGM_WRITE) @stg.open_storage(name, mode, self) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
librex-0.0.68 | lib/rex/ole/substorage.rb |
librex-0.0.66 | lib/rex/ole/substorage.rb |