metasploit-framework/lib/msf/core/model/service.rb

17 lines
252 B
Ruby

module Msf
class DBManager
class Service < ActiveRecord::Base
include DBSave
has_many :vulns, :dependent => :destroy
has_many :notes, :dependent => :destroy
has_many :creds, :dependent => :destroy
belongs_to :host
serialize :info
end
end
end