Sha256: a9f9571676d0788f98adfa5853e7db4068158c6d4fbfd7f98f3bc221f37d04ef

Contents?: true

Size: 443 Bytes

Versions: 24

Compression:

Stored size: 443 Bytes

Contents

class Mdm::Listener < ActiveRecord::Base
  #
  # Relations
  #

  belongs_to :task, :class_name => 'Mdm::Task'
  belongs_to :workspace, :class_name => 'Mdm::Workspace'

  #
  # Serializations
  #

  serialize :options, MetasploitDataModels::Base64Serializer.new

  #
  # Validations
  #

  validates :address, :ip_format => true, :presence => true
  validates :port, :presence => true

  ActiveSupport.run_load_hooks(:mdm_listener, self)
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
metasploit_data_models-0.15.2-java app/models/mdm/listener.rb
metasploit_data_models-0.15.2 app/models/mdm/listener.rb
metasploit_data_models-0.15.1-java app/models/mdm/listener.rb
metasploit_data_models-0.15.1 app/models/mdm/listener.rb
metasploit_data_models-0.15.0 app/models/mdm/listener.rb
metasploit_data_models-0.14.4-java app/models/mdm/listener.rb
metasploit_data_models-0.14.4 app/models/mdm/listener.rb
metasploit_data_models-0.14.3-java app/models/mdm/listener.rb
metasploit_data_models-0.14.3 app/models/mdm/listener.rb
metasploit_data_models-0.14.2-java app/models/mdm/listener.rb
metasploit_data_models-0.14.2 app/models/mdm/listener.rb
metasploit_data_models-0.14.1-java app/models/mdm/listener.rb
metasploit_data_models-0.14.1 app/models/mdm/listener.rb
metasploit_data_models-0.12.1-java app/models/mdm/listener.rb
metasploit_data_models-0.12.1 app/models/mdm/listener.rb
metasploit_data_models-0.12.0-java app/models/mdm/listener.rb
metasploit_data_models-0.12.0 app/models/mdm/listener.rb
metasploit_data_models-0.11.2-java app/models/mdm/listener.rb
metasploit_data_models-0.11.2 app/models/mdm/listener.rb
metasploit_data_models-0.7.0 app/models/mdm/listener.rb