This class contains information about a platform (operating system) version.
# File lib/rex/exploitation/opcodedb.rb, line 301 def hash_key(hash) hash['id'] + (hash['modules'] || '') end
# File lib/rex/exploitation/opcodedb.rb, line 306 def initialize(hash) super @modules = (hash['modules']) ? hash['modules'].to_i : 0 @desc = hash['desc'] @arch = hash['arch'] @maj_ver = hash['maj_ver'].to_i @min_ver = hash['min_ver'].to_i @maj_patch_level = hash['maj_patch_level'].to_i @min_patch_level = hash['min_patch_level'].to_i end
Generated with the Darkfish Rdoc Generator 2.