Class: Mdm::WebPage
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Mdm::WebPage
- Defined in:
- app/models/mdm/web_page.rb
Overview
Web page requested from a #web_site.
Instance Attribute Summary collapse
-
#auth ⇒ String
Credentials sent to server to authenticate to web site to allow access to this web page.
-
#body ⇒ String
Body of response from server.
-
#code ⇒ Integer
HTTP Status code return from #web_site when requesting this web page.
-
#cookie ⇒ Hash{String => String}
Cookies sent from server.
-
#created_at ⇒ DateTime
When this web page was created.
-
#ctype ⇒ String
The content type derived from the #headers of the returned web page.
-
#location ⇒ Object
Location derived from #headers.
-
#mtime ⇒ DateTime
The last modified time of the web page derived from the #headers.
-
#path ⇒ String
Path portion of URL that was used to access this web page.
-
#query ⇒ String
Query portion of URLthat was used to access this web page.
-
#request ⇒ String
Request sent to server to cause this web page to be returned.
-
#updated_at ⇒ DateTime
The last time this web page was updated.
Instance Method Summary collapse
-
#headers ⇒ Hash{String => String}
Headers sent from server.
Instance Attribute Details
#auth ⇒ String
Credentials sent to server to authenticate to web site to allow access to this web page.
|
# File 'app/models/mdm/web_page.rb', line 17
|
#body ⇒ String
Body of response from server.
|
# File 'app/models/mdm/web_page.rb', line 22
|
#code ⇒ Integer
HTTP Status code return from #web_site when requesting this web page.
|
# File 'app/models/mdm/web_page.rb', line 27
|
#cookie ⇒ Hash{String => String}
Cookies sent from server.
|
# File 'app/models/mdm/web_page.rb', line 32
|
#created_at ⇒ DateTime
When this web page was created.
|
# File 'app/models/mdm/web_page.rb', line 37
|
#ctype ⇒ String
The content type derived from the #headers of the returned web page.
|
# File 'app/models/mdm/web_page.rb', line 42
|
#mtime ⇒ DateTime
The last modified time of the web page derived from the #headers.
|
# File 'app/models/mdm/web_page.rb', line 52
|
#path ⇒ String
Path portion of URL that was used to access this web page.
|
# File 'app/models/mdm/web_page.rb', line 57
|
#query ⇒ String
Query portion of URLthat was used to access this web page.
|
# File 'app/models/mdm/web_page.rb', line 62
|
#request ⇒ String
Request sent to server to cause this web page to be returned.
|
# File 'app/models/mdm/web_page.rb', line 67
|
#updated_at ⇒ DateTime
The last time this web page was updated.
|
# File 'app/models/mdm/web_page.rb', line 72
|
Instance Method Details
#headers ⇒ Hash{String => String}
Headers sent from server.
84 |
# File 'app/models/mdm/web_page.rb', line 84 serialize :headers, MetasploitDataModels::Base64Serializer.new |