Changeset 1629

Show
Ignore:
Timestamp:
06/14/08 22:02:11 (4 months ago)
Author:
kindlund
Message:

Updated suspicious reporting logic.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • hive/trunk/data_webapp/app/models/post_office.rb

    r1618 r1629  
    1515    else 
    1616      body[:status] = 'Error' 
    17       @bcc = "darien@kindlund.com
     17      @bcc = "kindlund@mitre.org
    1818    end 
    1919    @subject = "[Honeyclient Job ##{body[:job_id]}: #{body[:status]}]" 
     
    3939      end 
    4040    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 
    4246  end 
    4347end 
  • hive/trunk/data_webapp/app/views/post_office/job_completed.text.plain.erb

    r1628 r1629  
    1111Number of Suspicious URLs: <%= @num_suspicious.to_s %> 
    1212 
    13 (Note: All URLs below have the prefix of 'BLOCKED::' in order to disable automatic loading of URLs within email clients.) 
     13Notes: 
     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'. 
    1416 
    1517Format: Status - URL (last visited)