Sha256: 9182202c3600adc811c6dde52a4a2d1631a2da1079f904088d6ea6d5c8f889f2

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

# A filled-in form on a {#web_site}.
class Mdm::WebForm < ActiveRecord::Base
  #
  # Associations
  #

  # {Mdm::WebSite Web site} on which this form is.
  belongs_to :web_site,
             class_name: 'Mdm::WebSite',
             inverse_of: :web_forms

  #
  # Attributes
  #

  # @!attribute created_at
  #   When this web form was created.
  #
  #   @return [DateTime]

  # @!attribute method
  #   HTTP method (or verb) used to submitted this form, such as GET or POST.
  #
  #   @return [String]

  # @!attribute path
  #   Path portion of URL to which this form was submitted.
  #
  #   @return [String]

  # @!attribute query
  #   URL query that submitted for this form.
  #
  #   @return [String]

  # @!attribute updated_at
  #   The last time this web form was updated.
  #
  #   @return [DateTime]

  #
  # Serializations
  #

  # Parameters submitted in this form.
  #
  # @return [Array<Array(String, String)>>]
  serialize :params, MetasploitDataModels::Base64Serializer.new

  Metasploit::Concern.run(self)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metasploit_data_models-0.24.4 app/models/mdm/web_form.rb
metasploit_data_models-0.24.3 app/models/mdm/web_form.rb
metasploit_data_models-0.24.2 app/models/mdm/web_form.rb