lib/rex/registry/valuelist.rb in librex-0.0.70 vs lib/rex/registry/valuelist.rb in librex-0.0.71
- old
+ new
@@ -16,10 +16,10 @@
1.upto(number_of_values) do |v|
valuekey_offset = hive[offset + inner_offset, 4]
next if !valuekey_offset
- valuekey_offset = valuekey_offset.unpack('l').first
+ valuekey_offset = valuekey_offset.unpack('V').first
@values << ValueKey.new(hive, valuekey_offset + 0x1000)
inner_offset = inner_offset + 4
end
end
end