class Rex::Exploitation::OpcodeDb::Statistics
Current statistics of the opcode database.
Attributes
architectures[R]
The number of architectures supported by the database.
last_update[R]
The time at which the last database update occurred.
module_exports[R]
The number of module exports supported by the database.
module_imports[R]
The number of module imports supported by the database.
module_segments[R]
The number of module segments supported by the database.
modules[R]
The number of modules found within the opcode database.
opcode_types[R]
The number of opcode types supported by the database.
opcodes[R]
The number of opcodes supported by the opcode database.
platforms[R]
The number of platforms supported by the database.
Public Class Methods
new(hash)
click to toggle source
# File lib/rex/exploitation/opcodedb.rb, line 463 def initialize(hash) @modules = hash['modules'].to_i @opcodes = hash['opcodes'].to_i @opcode_types = hash['opcode_types'].to_i @platforms = hash['platforms'].to_i @architectures = hash['architectures'].to_i @module_segments = hash['module_segments'].to_i @module_imports = hash['module_imports'].to_i @module_exports = hash['module_exports'].to_i @last_update = Time.at(hash['last_update'].to_i) end