2007-01-18 15:31:42 +00:00
|
|
|
# Author: LMH <lmh@info-pull.com>
|
2006-09-29 13:53:51 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2006-09-24 03:09:03 +00:00
|
|
|
class NopsController < ApplicationController
|
2006-09-28 05:27:20 +00:00
|
|
|
layout 'windows'
|
2006-09-27 05:18:06 +00:00
|
|
|
|
2006-09-24 03:09:03 +00:00
|
|
|
def list
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def view
|
2006-12-19 14:01:08 +00:00
|
|
|
@tmod = get_view_for_module("nop", params[:refname])
|
2006-09-29 13:53:51 +00:00
|
|
|
|
|
|
|
|
unless @tmod
|
|
|
|
|
render_text "Unknown module specified."
|
|
|
|
|
end
|
2006-09-24 03:09:03 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def generate
|
|
|
|
|
end
|
|
|
|
|
end
|