Ejemplo n.º 1
0
                            // Attack found so we can leave the foreach loop
                            break;
                        }
                    }
                }
            }
        }
    }
}
if ($ct_attack_detection) {
    if (CT_DEBUG_MODE !== true) {
        // include class for Logfile Management
        include_once IP_ROOT_PATH . 'includes/ctracker/classes/class_log_manager.' . PHP_EXT;
        // write data into logfile
        $logfile = new log_manager();
        $logfile->write_worm();
        unset($logfile);
    }
    if ($disable_ct_warning == false) {
        // generate HTML Message
        $htmloutput = <<<EOM
<html>
<head><title>CBACK CrackerTracker :: Security Alert</title></head>
<body>
<br />
<div align="center">
<table style="border:2px solid #000000" border="0" width="600" cellpadding="10" cellspacing="0">
<tr>
\t<td align="left" bgcolor="#000000"><font face="Tahoma, Arial, Helvetica" size="4" color="#FFFFFF"><b>SECURITY ALERT&nbsp;&raquo;&nbsp;&raquo;&nbsp;&raquo;&nbsp;&raquo;</b></font></td>
</tr>
<tr>