Class: Mdm::WebPage
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- 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 ⇒ String
Cookies derived from #headers.
-
#created_at ⇒ DateTime
When this web page was created.
-
#ctype ⇒ String
The content type derived from the #headers of the returned web page.
-
#location ⇒ String
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 16
|
#body ⇒ String
Body of response from server.
|
|
# File 'app/models/mdm/web_page.rb', line 21
|
#code ⇒ Integer
HTTP Status code return from #web_site when requesting this web page.
|
|
# File 'app/models/mdm/web_page.rb', line 26
|
#created_at ⇒ DateTime
When this web page was created.
|
|
# File 'app/models/mdm/web_page.rb', line 36
|
#ctype ⇒ String
The content type derived from the #headers of the returned web page.
|
|
# File 'app/models/mdm/web_page.rb', line 41
|
#mtime ⇒ DateTime
The last modified time of the web page derived from the #headers.
|
|
# File 'app/models/mdm/web_page.rb', line 51
|
#path ⇒ String
Path portion of URL that was used to access this web page.
|
|
# File 'app/models/mdm/web_page.rb', line 56
|
#query ⇒ String
Query portion of URLthat was used to access this web page.
|
|
# File 'app/models/mdm/web_page.rb', line 61
|
#request ⇒ String
Request sent to server to cause this web page to be returned.
|
|
# File 'app/models/mdm/web_page.rb', line 66
|
#updated_at ⇒ DateTime
The last time this web page was updated.
|
|
# File 'app/models/mdm/web_page.rb', line 71
|
Instance Method Details
#headers ⇒ Hash{String => String}
Headers sent from server.
83 |
# File 'app/models/mdm/web_page.rb', line 83 serialize :headers, MetasploitDataModels::Base64Serializer.new |