Add Rex::Tar

This just inherits from Gem::Package::Tar{Reader,Writer} at the moment.
We may want to build out higher-level methods than what the inherited
code already provides. Or don't inherit at all.
GSoC/Meterpreter_Web_Console
William Vu 2018-03-19 18:59:39 -05:00
parent 0a0bef0c4f
commit f5025cb84e
2 changed files with 11 additions and 1 deletions

View File

@ -48,8 +48,10 @@ require 'rex/text'
require 'rex/random_identifier'
# library for creating Powershell scripts for exploitation purposes
require 'rex/powershell'
# Library for processing and creating Zip compatbile archives
# Library for processing and creating Zip compatible archives
require 'rex/zip'
# Library for processing and creating tar compatible archives (not really a gem)
require 'rex/tar'
# Library for parsing offline Windows Registry files
require 'rex/registry'
# Library for parsing Java serialized streams

8
lib/rex/tar.rb Normal file
View File

@ -0,0 +1,8 @@
# -*- coding: binary -*-
require 'rubygems/package'
module Rex::Tar
class Reader < Gem::Package::TarReader; end
class Writer < Gem::Package::TarWriter; end
end