2006-09-24 03:09:03 +00:00
|
|
|
class ExploitsController < ApplicationController
|
2006-09-27 02:47:01 +00:00
|
|
|
layout 'windows'
|
2006-09-27 05:18:06 +00:00
|
|
|
|
|
|
|
|
def search_complete(terms)
|
|
|
|
|
search_modules(Exploit.find_all(), terms)
|
|
|
|
|
end
|
2006-09-27 02:47:01 +00:00
|
|
|
|
|
|
|
|
def list
|
2006-09-27 05:18:06 +00:00
|
|
|
@exploits = Exploit.find_all()
|
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 view
|
2006-09-27 05:18:06 +00:00
|
|
|
@exploits = Exploit.find_all()
|
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
|