Sha256: 8d65cbff1c57c23c78c408e1dcb22b74c1bea84d0a937d40c4d61f47cee48c80

Contents?: true

Size: 737 Bytes

Versions: 43

Compression:

Stored size: 737 Bytes

Contents

##
# $Id: substorage.rb 8457 2010-02-11 18:36:38Z jduck $
# Version: $Revision: 8457 $
##

##
# 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

43 entries across 43 versions & 1 rubygems

Version Path
librex-0.0.65 lib/rex/ole/substorage.rb
librex-0.0.63 lib/rex/ole/substorage.rb
librex-0.0.54 lib/rex/ole/substorage.rb
librex-0.0.53 lib/rex/ole/substorage.rb
librex-0.0.52 lib/rex/ole/substorage.rb
librex-0.0.51 lib/rex/ole/substorage.rb
librex-0.0.50 lib/rex/ole/substorage.rb
librex-0.0.49 lib/rex/ole/substorage.rb
librex-0.0.48 lib/rex/ole/substorage.rb
librex-0.0.47 lib/rex/ole/substorage.rb
librex-0.0.46 lib/rex/ole/substorage.rb
librex-0.0.44 lib/rex/ole/substorage.rb
librex-0.0.43 lib/rex/ole/substorage.rb
librex-0.0.42 lib/rex/ole/substorage.rb
librex-0.0.41 lib/rex/ole/substorage.rb
librex-0.0.40 lib/rex/ole/substorage.rb
librex-0.0.39 lib/rex/ole/substorage.rb
librex-0.0.38 lib/rex/ole/substorage.rb
librex-0.0.37 lib/rex/ole/substorage.rb
librex-0.0.36 lib/rex/ole/substorage.rb