Changeset 1628
- Timestamp:
- 06/14/08 21:10:11 (2 months ago)
- Files:
-
- hive/trunk/data_webapp/app/views/post_office/job_completed.text.plain.erb (modified) (3 diffs)
- hive/trunk/data_webapp/app/views/post_office/job_submitted.text.plain.erb (modified) (2 diffs)
- hive/trunk/data_webapp/config/environment.rb (modified) (2 diffs)
- hive/trunk/data_webapp/lib/honeyclient_record.rb (modified) (1 diff)
- hive/trunk/data_webapp/lib/time_converter.rb (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
hive/trunk/data_webapp/app/views/post_office/job_completed.text.plain.erb
r1626 r1628 1 +---------------------------------+ 2 | MITRE Honeyclient System v1.2.1 | 3 +---------------------------------+ 1 ------------------------------- 2 MITRE Honeyclient System v1.2.2 3 ------------------------------- 4 4 Status: <%= @status.to_s %> 5 5 Job ID: #<%= @job_id.to_s %> … … 13 13 (Note: All URLs below have the prefix of 'BLOCKED::' in order to disable automatic loading of URLs within email clients.) 14 14 15 +-------------------------------+ 16 | Format: Status - URL | 17 +-------------------------------+ 15 Format: Status - URL (last visited) 16 =================================== 18 17 <%- @history_urls.each do |h| -%> 19 <%= h.status.to_s %> - BLOCKED::<%= h.url.to_s %> 18 <%= h.status.to_s %> - BLOCKED::<%= h.url.to_s %> (<%= h.time_at == 0 ? "never" : time_ago(h.time_at) %>) 20 19 <%- end -%> 21 ---------------------------------22 20 23 +------------+ 24 | DISCLAIMER | 25 +------------+ 21 ---------- 22 DISCLAIMER 23 ---------- 26 24 27 25 While the MITRE Honeyclient System has been extensively tested, and consistently detects new malware not detected by anti-virus scanners, there are some caveats inherent to this implementation. Please keep in mind the following: … … 33 31 If you have any questions, please contact honeyclient@mitre.org. 34 32 35 ---------------------------------36 33 For more information about what this means, see the following: 37 34 http://www.honeyclient.org/trac/wiki/SummaryResults hive/trunk/data_webapp/app/views/post_office/job_submitted.text.plain.erb
r1626 r1628 1 1 <%= (@status.to_s != 'Error') ? 'Thanks! Your request has been submitted to the MITRE Honeyclient System for analysis. If you have submitted any lengthy URLs, please review the output below to make sure each URL has been parsed correctly. When all URLs have been analyzed, you will receive another message with the results. Do not reply to this message. If you have any questions, please contact honeyclient@mitre.org.' : 'Unfortunately, we were unable to parse your request to the MITRE Honeyclient System. Please review the output below to make sure at least one URL was parsed correctly. If at least one URL was parsed correctly, then the system may be undergoing routine maintenance at this time -- please try your request again later. Do not reply to this message. If you have any questions, please contact honeyclient@mitre.org.' %> 2 2 3 +---------------------------------+ 4 | MITRE Honeyclient System v1.2.1 | 5 +---------------------------------+ 3 ------------------------------- 4 MITRE Honeyclient System v1.2.2 5 ------------------------------- 6 6 Status: <%= @status.to_s %> 7 7 Job ID: #<%= @job_id.to_s %> … … 10 10 (Note: All URLs below have the prefix of 'BLOCKED::' in order to disable automatic loading of URLs within email clients.) 11 11 12 URLs Parsed: 13 ============ 12 Format: BLOCKED::URL (last visited) 13 =================================== 14 14 <%- @queue_urls.each do |q| -%> 15 BLOCKED::<%= q.url.to_s %> 15 BLOCKED::<%= q.url.to_s %> (<%= q.last_visited_at == 0 ? "never" : time_ago(q.last_visited_at) %>) 16 16 <%- end -%> hive/trunk/data_webapp/config/environment.rb
r1380 r1628 92 92 93 93 # Include your application configuration below 94 #include MicrosecondConverter95 94 require 'microsecond_converter' 96 95 include MicrosecondConverter … … 98 97 require 'honeyclient_record' 99 98 include HoneyclientRecord 99 100 require 'time_converter' 101 include TimeConverter hive/trunk/data_webapp/lib/honeyclient_record.rb
r1562 r1628 1 1 # author: Matthew Briggs 2 #class HoneyclientRecord < ActiveRecord::Base3 2 module HoneyclientRecord 4 3 def new_or_existing(class_name,obj_hash)
