This class provides a general interface to items that come from that opcode database that have a symbolic entry identifier and name.
The unique server identifier.
The unique name for this entry.
# File lib/rex/exploitation/opcodedb.rb, line 54 def initialize(hash) super @id = hash['id'].to_i @name = hash['name'] end
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
[Validate]
Generated with the Darkfish Rdoc Generator 2.