Files
metasploit-gs/data/msfweb/app/models/exploit.rb
T

8 lines
149 B
Ruby
Raw Normal View History

class Exploit
def self.find_all()
mods = []
2008-04-28 16:57:49 +00:00
$msframework.exploits.each_module { |n,m| mods << $msframework.exploits.create(n) }
mods
end
end