Files
metasploit-gs/data/msfweb/app/controllers/nops_controller.rb
T
HD Moore d69a1f6ff0 Adding the new msfweb tree, using rails 2.2.3 and newer prototype
git-svn-id: file:///home/svn/framework3/trunk@6651 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-14 15:17:53 +00:00

23 lines
484 B
Ruby

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