Metasploit mailing list archives

exploits by ports


From: dougtko at gmail.com (Doug Prostko)
Date: Thu, 30 Apr 2009 22:14:14 -0400

Juan,

Something like this should also work for you:

  require 'msf/base'

  framework = Msf::Simple::Framework.create

  framework.exploits.each do |name, mod|
      e = mod.new
      puts "#{name} #{e.datastore['RPORT']}"
  end

-doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.metasploit.com/pipermail/framework/attachments/20090430/b3020fdb/attachment.htm>


Current thread: