metasploit-framework/data/msfweb/app/models/exploit.rb

8 lines
149 B
Ruby
Raw Normal View History

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