Class: Rex::PeScan::Search::DumpOffset

Inherits:
DumpRVA
  • Object
show all
Defined in:
lib/rex/pescan/search.rb

Instance Attribute Summary

Attributes inherited from DumpRVA

#pe

Instance Method Summary collapse

Methods inherited from DumpRVA

#initialize, #scan

Constructor Details

This class inherits a constructor from Rex::PeScan::Search::DumpRVA

Instance Method Details

#config(param) ⇒ Object


59
60
61
62
63
64
# File 'lib/rex/pescan/search.rb', line 59

def config(param)
  begin
    @address = pe.file_offset_to_rva(param['args'])
  rescue Rex::PeParsey::BoundsError
  end
end