Son Saldırılar
");
$attackfields = array("GET","POST","REQUEST","SERVER REQUEST_URI","SERVER USER_AGENT","SERVER REFERER","COOKIE");
$records = $wpdb->get_results("SELECT `page`, `ip`, `tag`, `value` FROM $GLOBALS[table_prefix]sec_log ORDER BY id DESC LIMIT 10",ARRAY_A);
foreach ($records as $record)
{
echo ("- ".ereg_replace("[^[:digit:].]", "", $record[ip])."
");
if ($record['tag']=='')
{
echo($attackfields[$record['attacked']]."=".htmlspecialchars(substr($record['value'],0,20)."...")." ");
}else
{
echo($record['tag']."=".htmlspecialchars(substr($record['value'],0,20)."...")."");
}
}
echo ("
");?>