class Exploit def self.find_all() mods = [] $msframework.exploits.each_module { |n,m| mods << $msframework.exploits.create(n) } mods end end