2009-12-14 22:52:34 +00:00
|
|
|
module Msf
|
|
|
|
class DBManager
|
|
|
|
|
|
|
|
class Service < ActiveRecord::Base
|
|
|
|
include DBSave
|
|
|
|
has_many :vulns, :dependent => :destroy
|
2009-12-29 23:48:45 +00:00
|
|
|
has_many :notes, :dependent => :destroy
|
2009-12-14 22:52:34 +00:00
|
|
|
belongs_to :host
|
2010-07-06 16:20:04 +00:00
|
|
|
|
|
|
|
serialize :info
|
2009-12-14 22:52:34 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
2009-12-29 23:48:45 +00:00
|
|
|
end
|
2010-07-06 16:20:04 +00:00
|
|
|
|