module Rex::Exploitation::OpcodeDb::DbEntry
This class provides a general interface to items that come from that opcode database that have a symbolic entry identifier and name.
Attributes
id[R]
The unique server identifier.
name[R]
The unique name for this entry.
Public Class Methods
new(hash)
click to toggle source
Calls superclass method
# File lib/rex/exploitation/opcodedb.rb, line 54 def initialize(hash) super @id = hash['id'].to_i @name = hash['name'] end
Public Instance Methods
filter_hash()
click to toggle source
Fields that could possibly be filtered on for this database entry.
# File lib/rex/exploitation/opcodedb.rb, line 64 def filter_hash { "id" => id, "name" => name } end