10 lines
230 B
Ruby
10 lines
230 B
Ruby
class InthewildCveExploitsController < ApplicationController
|
|
def index
|
|
@cves = InthewildCveExploit.all
|
|
end
|
|
|
|
def show
|
|
@cve = InthewildCveExploit.find_by(:id => params[:cve_id])
|
|
render json: @poc.to_json
|
|
end
|
|
end
|