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

17 lines
252 B
Ruby
Raw Normal View History

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