Просмотр файла eropic.php

Размер файла: 2.13Kb
<?
Error_Reporting(E_ALL & ~E_NOTICE);
$host = "erotel.us";
$path = "/gal/?$QUERY_STRING";
$fp = fsockopen($host,80,$errno,$errstr,30);
if(!$fp) echo"$errstr ($errno)<br />\n";
else{
$headers = "GET $path HTTP/1.0\r\n";
$headers .= "Host: $host\r\n";
$headers .= "Accept: *\r\n";
$headers .="Accept-Charset: UTF-8\r\n";
$headers .= "Accept-Charset: *\r\n";
$headers .= "Accept-Encoding: deflate\r\n";
$headers .= "Accept-Language: ru\r\n";
$headers .= "User-Agent: Nokia6600/1.0\r\n\r\n";
fwrite($fp,$headers);
while($text != "\r\n")
$text = fgets($fp,128);
$text = "";
while(!feof($fp))
$text .= fgets($fp,4096);
fclose($fp);
}

header("Cache-Control: no-cache");
header("Content-Type:text/html;charset=utf-8");

$text=str_replace('Erotel.us','Wap.Irbit.In', $text);

$text=str_replace('index.php','', $text);
$text=str_replace('<img src="pic.php','<img src="http://erotel.us/gal/pic.php', $text);

$text=str_replace('<a href="gifLoad.php','<a href="http://erotel.us/gal/gifLoad.php', $text);

$text=str_replace('<a href="/other/','<a href="http://erotel.us/gal/other/', $text);
$text=str_replace('<a href="/asian/','<a href="http://erotel.us/gal/asian/', $text);
$text=str_replace('<a href="/bikini/','<a href="http://erotel.us/gal/bikini/', $text);
$text=str_replace('<a href="/celeb/','<a href="http://erotel.us/gal/celeb/', $text);
$text=str_replace('<a href="/lesbian/','<a href="http://erotel.us/gal/lesbian/', $text);
$text=str_replace('<a href="/pussy/','<a href="http://erotel.us/gal/pussy/', $text);
$text=str_replace('<a href="/teen/','<a href="http://erotel.us/gal/teen/', $text);
$text=str_replace('<a href="/tits/','<a href="http://erotel.us/gal/tits/', $text);

$text=str_replace('<a href="http://waplog.net/ru/c.shtml?12082"><img src="http://c.waplog.net/ru/12082.cnt" alt="waplog" /></a><br/>','<center><a href="http://xban.ru/ban.php?uid=10482"><img src="http://xban.ru/ban.php?img=10482" alt="."/></a><br/></center>', $text);
$text=str_replace('http://erotel.org/includes/css/00.css','./css/flem.css', $text);
$text=preg_replace('/<a href="http:\/\/wap.1124.ru\/(.*?)<\/a><br\/>/si','',$text);
print "$text";
?>