"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "wormscan-1.6.1-src/wormsummary.vm" of archive wormscan-1.6.1-src.tar.gz:


#*   WormScan 1.6.1 http://www.websoup.net/wormscan
#    Copyright (c) 2001-2004 Andriy Rozeluk <arozeluk@websoup.net>
#
#    This file is part of WormScan.
#
#    WormScan is free software; you can redistribute it and/or
#    modify it under the terms of the GNU General Public License
#    as published by the Free Software Foundation; either version 2
#    of the License, or (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.*#
<html>
<head>
  <title>WormScan 1.6.1</title>
</head>
<body>
  <center>
    <table border="1">
      <tr>
        <td align="center"><a href="http://www.websoup.net/wormscan"><font color="#0000FF">WormScan 1.6.1</font></a></td>
      </tr>
      <tr>
        <td align="center"><font color="#FF0000">$!{numattacks}</font> total attacks from <font color="#FF0000">$!{numhosts}</font> unique hosts</td>
      </tr>
      <tr>
        <td align="center">Last updated: $!{timestamp}</td>
      </tr>
      <tr>
        <td align="center">
          #set( $first = 0 )
          #foreach( $worm in $worms )
            #if( $first == 0 )
              #set( $first = 1 )
            #else
              <BR>
            #end
            $!{worm.getName()} - <font color="$!{worm.getColour()}">$!{worm.getNumAttacks()}</font> attacks
          #end
        </td>
      </tr>
    </table>
  </center>
  #if( $enableDetailedReports )
  <h2>Show detailed information by:</h2>
  #end
  #if( $enableReportByWorm )
  Worm [<a href="$!{basename}_worm$!{baseext}">Ascending</a>] [<a href="$!{basename}_worm_desc$!{baseext}">Descending</a>]<BR>
  #end
  #if( $enableReportByNumattacks )
  Number of attacks per host [<a href="$!{basename}_numattacks$!{baseext}">Ascending</a>] [<a href="$!{basename}_numattacks_desc$!{baseext}">Descending</a>]<BR>
  #end
  #if( $enableReportByDate )
  Date of attack [<a href="$!{basename}_date$!{baseext}">Ascending</a>] [<a href="$!{basename}_date_desc$!{baseext}">Descending</a>]<BR>
  #end
  #if( $enableReportByIP )
  IP of attacking host [<a href="$!{basename}_ip$!{baseext}">Ascending</a>] [<a href="$!{basename}_ip_desc$!{baseext}">Descending</a>]<BR>
  #end
  #if( $enableReportByHostname )
  Hostname of attacking host [<a href="$!{basename}_hostname$!{baseext}">Ascending</a>] [<a href="$!{basename}_hostname_desc$!{baseext}">Descending</a>]
  #end
    #if( $chartFilename )
    <table border="0">
      <tr>
        <td>
          <img src="${chartFilename}_daily.jpg">
        </td>
        <td>
          <img src="${chartFilename}_total.jpg">
        </td>
      </tr>
      <tr>
        <td>
          <img src="${chartFilename}_today.jpg">
        </td>
        <td>
          <img src="${chartFilename}_allattacks.jpg">
        </td>
      </tr>
    </table>
    #end
  </body>
</html>