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

8 lines
123 B
Ruby

class Encoder
def self.find_all()
mods = []
$msframework.encoders.each_module { |n,m| mods << m.new }
mods
end
end