Sha256: 5dad49eba39a4ab51f8912d47cf84f3cd109c6d0cfa3ca2baee1e4b90a358fde

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: binary -*-

msfbase = __FILE__
while File.symlink?(msfbase)
	msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
end
path = File.expand_path(File.dirname(msfbase))
path += "/../../../"
$:.unshift(path)

require 'rex/ole'

if (ARGV.length < 1)
	$stderr.puts "usage: ole_info <file>"
	exit(1)
end

document = ARGV.shift

if (stg = Rex::OLE::Storage.new(document))
	puts stg.inspect
	stg.close
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
librex-0.0.68 lib/rex/ole/samples/ole_info.rb
librex-0.0.66 lib/rex/ole/samples/ole_info.rb