Sha256: 9791d2368bf63b8b47bed836a686291eba86aa8118c54cbf398f2c808f1c4408

Contents?: true

Size: 426 Bytes

Versions: 43

Compression:

Stored size: 426 Bytes

Contents

#!/usr/bin/env ruby

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

43 entries across 43 versions & 1 rubygems

Version Path
librex-0.0.4 lib/rex/ole/samples/ole_info.rb
librex-0.0.3 lib/rex/ole/samples/ole_info.rb
librex-0.0.1 lib/rex/ole/samples/ole_info.rb