Sha256: 8dca83c35c5e261aeb52f9c9513e8c28935689683203ad18b8b6ead18958102b

Contents?: true

Size: 409 Bytes

Versions: 59

Compression:

Stored size: 409 Bytes

Contents

class Mdm::Macro < ActiveRecord::Base
  extend MetasploitDataModels::SerializedPrefs

  #
  # Serialization
  #

  serialize :actions, MetasploitDataModels::Base64Serializer.new
  serialize :prefs, MetasploitDataModels::Base64Serializer.new
  serialized_prefs_attr_accessor :max_time

  #
  # Validations
  #

  validates :name, :presence => true, :format => /^[^'|"]+$/

  Metasploit::Concern.run(self)
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
metasploit_data_models-0.24.5 app/models/mdm/macro.rb
metasploit_data_models-0.24.1.pre.rspec.pre.3.pre.1 app/models/mdm/macro.rb
metasploit_data_models-0.24.1 app/models/mdm/macro.rb
metasploit_data_models-0.24.0 app/models/mdm/macro.rb
metasploit_data_models-0.23.3.pre.autoload app/models/mdm/macro.rb
metasploit_data_models-0.23.2 app/models/mdm/macro.rb
metasploit_data_models-0.23.2-java app/models/mdm/macro.rb
metasploit_data_models-0.23.1 app/models/mdm/macro.rb
metasploit_data_models-0.23.1-java app/models/mdm/macro.rb
metasploit_data_models-0.23.0 app/models/mdm/macro.rb
metasploit_data_models-0.23.0-java app/models/mdm/macro.rb
metasploit_data_models-0.22.8 app/models/mdm/macro.rb
metasploit_data_models-0.22.8-java app/models/mdm/macro.rb
metasploit_data_models-0.22.7 app/models/mdm/macro.rb
metasploit_data_models-0.22.7-java app/models/mdm/macro.rb
metasploit_data_models-0.22.6 app/models/mdm/macro.rb
metasploit_data_models-0.22.6-java app/models/mdm/macro.rb
metasploit_data_models-0.22.5 app/models/mdm/macro.rb
metasploit_data_models-0.22.5-java app/models/mdm/macro.rb
metasploit_data_models-0.22.4 app/models/mdm/macro.rb