Class: Mdm::WebPage

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
app/models/mdm/web_page.rb

Overview

Web page requested from a #web_site.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#authString

Credentials sent to server to authenticate to web site to allow access to this web page.

Returns:

  • (String)


# File 'app/models/mdm/web_page.rb', line 17

#bodyString

Body of response from server.

Returns:

  • (String)


# File 'app/models/mdm/web_page.rb', line 22

#codeInteger

HTTP Status code return from #web_site when requesting this web page.

Returns:

  • (Integer)


# File 'app/models/mdm/web_page.rb', line 27

Cookies sent from server.

Returns:

  • (Hash{String => String})


# File 'app/models/mdm/web_page.rb', line 32

#created_atDateTime

When this web page was created.

Returns:

  • (DateTime)


# File 'app/models/mdm/web_page.rb', line 37

#ctypeString

The content type derived from the #headers of the returned web page.

Returns:

  • (String)


# File 'app/models/mdm/web_page.rb', line 42

#locationObject

Location derived from #headers.



# File 'app/models/mdm/web_page.rb', line 47

#mtimeDateTime

The last modified time of the web page derived from the #headers.

Returns:

  • (DateTime)


# File 'app/models/mdm/web_page.rb', line 52

#pathString

Path portion of URL that was used to access this web page.

Returns:

  • (String)


# File 'app/models/mdm/web_page.rb', line 57

#queryString

Query portion of URLthat was used to access this web page.

Returns:

  • (String)


# File 'app/models/mdm/web_page.rb', line 62

#requestString

Request sent to server to cause this web page to be returned.

Returns:

  • (String)


# File 'app/models/mdm/web_page.rb', line 67

#updated_atDateTime

The last time this web page was updated.

Returns:

  • (DateTime)


# File 'app/models/mdm/web_page.rb', line 72

Instance Method Details

#headersHash{String => String}

Headers sent from server.

Returns:

  • (Hash{String => String})


84
# File 'app/models/mdm/web_page.rb', line 84

serialize :headers, MetasploitDataModels::Base64Serializer.new