Sha256: be2dfb768e6107b13b6e6a1c0318687561ff6a28d8a5f09010f8553f8c63e60b
Contents?: true
Size: 354 Bytes
Versions: 21
Compression:
Stored size: 354 Bytes
Contents
# -*- coding: binary -*- module Rex module Registry class RegfBlock attr_accessor :timestamp, :root_key_offset def initialize(hive) regf_header = hive[0x00, 4] if regf_header !~ /regf/ puts "Not a registry hive" return end @timestamp = hive[0x0C, 8].unpack('q').first @root_key_offset = 0x20 end end end end
Version data entries
21 entries across 21 versions & 4 rubygems