- or download this
$Month=`date +%m`;
$Day=`date +%d`;
...
chomp $Month;
chomp $Day;
- 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";
- or download this
##Unique Events
$unique_events_sth = $db->prepare( $UniqueDay );
...
$unique_row{ATTACKSIG} = $attacksignature;
push (@unique_array,\%unique_row);
}