Help for this page

Select Code to Download


  1. or download this
    $Month=`date +%m`;
    $Day=`date +%d`;
    ...
    
    chomp $Month;
    chomp $Day;
    
  2. or download this
    $UniqueDay = "SELECT count(*) as COUNT, max(time) as MAX, min(time) as
    + MIN, attacksignature from np_data where month=? and day=? group by a
    +ttacksignature order by COUNT desc";
    
  3. or download this
    ##Unique Events
    $unique_events_sth = $db->prepare( $UniqueDay );
    ...
        $unique_row{ATTACKSIG} = $attacksignature;
        push (@unique_array,\%unique_row);
    }