2006-09-29 04:04:23 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2006-09-24 03:09:03 +00:00
|
|
|
class ExploitsController < ApplicationController
|
2006-09-28 05:27:20 +00:00
|
|
|
layout 'windows'
|
2006-09-27 02:47:01 +00:00
|
|
|
|
|
|
|
|
def list
|
|
|
|
|
end
|
2006-09-24 03:09:03 +00:00
|
|
|
|
2006-09-27 02:47:01 +00:00
|
|
|
def view
|
2006-09-29 13:53:51 +00:00
|
|
|
@tmod = get_view_for_module("exploit", params[:id])
|
2006-09-29 04:04:23 +00:00
|
|
|
|
|
|
|
|
unless @tmod
|
|
|
|
|
render_text "Unknown module specified."
|
|
|
|
|
end
|
2006-09-27 02:47:01 +00:00
|
|
|
end
|
2006-09-24 03:09:03 +00:00
|
|
|
|
2006-09-27 02:47:01 +00:00
|
|
|
def exploit
|
|
|
|
|
end
|
2006-09-24 03:09:03 +00:00
|
|
|
|
2006-09-27 02:47:01 +00:00
|
|
|
def check
|
|
|
|
|
end
|
2006-09-24 03:09:03 +00:00
|
|
|
end
|