Files
metasploit-gs/data/msfweb/app/controllers/exploits_controller.rb
T
lmh 03fb9ae376 Generalized views for each module type, added platform icons support and started the base for full payload generation support.
git-svn-id: file:///home/svn/framework3/trunk@3996 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-29 13:53:51 +00:00

26 lines
517 B
Ruby

# Author: L.M.H <lmh@info-pull.com>
# Description: The exploit controller of msfweb v.3. Handles views, listing
# and other actions related to exploit modules. Code and processing goes here.
# Instance variables, final values, etc, go into views.
class ExploitsController < ApplicationController
layout 'windows'
def list
end
def view
@tmod = get_view_for_module("exploit", params[:id])
unless @tmod
render_text "Unknown module specified."
end
end
def exploit
end
def check
end
end