var currAlert = 0; var AlertCount = 8; var Alerts = new Array(AlertCount); Alerts[0] = "Vuln: Microsoft Windows Vista Local Denial Of Service Vulnerability"; Alerts[1] = "Vuln: libxml2 Denial of Service Vulnerability"; Alerts[2] = "Vuln: MPlayer 'stream_read' Function Remote Heap Based Buffer Overflow Vulnerability"; Alerts[3] = "Vuln: pam_krb5 Existing Ticket Configuration Option Local Privilege Escalation Vulnerability"; Alerts[4] = "Bugtraq: Re:"Exploit creation - The random approach"or"Playing withrandom to build exploits""; Alerts[5] = "Bugtraq: Website Directory - XSS Exploit"; Alerts[6] = "Bugtraq: Re: RE: MySQL command-line client HTML injection vulnerability"; Alerts[7] = "Bugtraq: Secunia Research: Trend Micro OfficeScan Directory Traversal Vulnerability"; var t;function pause_alerts() { clearTimeout(t); }function update_alert() { document.getElementById("security_alerts").innerHTML = "Security Alert: " + Alerts[currAlert] + " (" + (currAlert+1) + " of " + AlertCount + ")"; currAlert = currAlert + 1; if (currAlert >= AlertCount) currAlert = 0; clearTimeout(t); t = setTimeout("update_alert()", 5000); }