Changeset 1629
- Timestamp:
- 06/14/08 22:02:11 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
hive/trunk/data_webapp/app/models/post_office.rb
r1618 r1629 15 15 else 16 16 body[:status] = 'Error' 17 @bcc = " darien@kindlund.com"17 @bcc = "kindlund@mitre.org" 18 18 end 19 19 @subject = "[Honeyclient Job ##{body[:job_id]}: #{body[:status]}]" … … 39 39 end 40 40 end 41 body[:suspicious_found] = (body[:num_suspicious] > 0) 41 if (body[:num_suspicious] > 0) 42 body[:suspicious_found] = true 43 @bcc = ["kindlund@mitre.org", "knwang@mitre.org"] 44 @subject = "[Honeyclient Job ##{body[:job_id]}: #{body[:status]}] SUSPICIOUS URLS FOUND" 45 end 42 46 end 43 47 end hive/trunk/data_webapp/app/views/post_office/job_completed.text.plain.erb
r1628 r1629 11 11 Number of Suspicious URLs: <%= @num_suspicious.to_s %> 12 12 13 (Note: All URLs below have the prefix of 'BLOCKED::' in order to disable automatic loading of URLs within email clients.) 13 Notes: 14 - All URLs below have the prefix of 'BLOCKED::' in order to disable automatic loading of URLs within email clients. 15 - Any suspicious URLs will have the status of 'suspicious'. 14 16 15 17 Format: Status - URL (last visited)
