Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php require("inc.php"); $link = $fnc->connect_db(); $operator = $fnc->operator($REMOT..

Decoded Output download

<?php 
require("inc.php"); 
$link = $fnc->connect_db(); 
$operator = $fnc->operator($REMOTE_ADDR); 
$ref = rand(10000,1000000); 
$ip=getenv("REMOTE_ADDR"); 
$browser = strtok(getenv('HTTP_USER_AGENT'), "/"); 
$referer = str_replace ( "http://" , "" , $_SERVER['HTTP_REFERER']); 
$referer = explode ( "/" , $referer ); 
$referer = $referer[0]; 
if (!isset($_SESSION['ref']) && !empty($referer) && $referer != "wap.localhost" && $referer != "localhost" && $referer != "www.".$_SERVER['HTTP_HOST']){ 
$sql = mysql_query( "insert into `referer` set `referer`='".$referer."', `time`=".$SERVER_TIME.", `date`='".date("d.m.Y", $SERVER_TIME)."', `browser`='".$browser."', `ip`='".$ip."' " ); 
$_SESSION['ref'] = "closed"; 
} 
 
$adamlar = @mysql_query ("SELECT `son`,`qadin`,`kisi`,`max`,`tarix` FROM `conf` where `acar`='1';"); 
list($son,$qiz,$kisi,$max,$tarix) = mysql_fetch_array ($adamlar); 
 
$online = mysql_query("SELECT COUNT(1) FROM `users` WHERE `time` > '".$ontime."' and `inv`!='3';"); 
$onlayn = mysql_result($online, 0); 
$fnc->head("Chat ".$site, "center"); 
$qey = file("file/log/1.dat"); 
$img = trim($qey[0]); 
$metn = trim($qey[1]); 
 
if($img){ 
echo "<img src=\"http://$img\" alt=\"$site\"/><br/>"; 
}else{ 
echo "<b>$site</b><br/>
"; 
} 
if($metn)echo "$metn<br/>"; 
if($metn or $img)$fnc->divide(); 
//echo"<a href=\"http://mp3dinle.ws\"><b>Mp3 Axtar Yukle</b></a> (Pulsuz)<br/><br/>"; 
 
//echo "<img src=\"ikon/sms.gif\" alt=\"reg\"/> 
"; 
//include("online_sms.php"); 
$fnc->divide(); 
echo $divide; 
//echo "<img src=\"ikon/mp3.gif\" alt=\"reg\"/> 
"; 
//echo "<u><a href=\"mp3.php?$ref\">Mp3  axtar  yukle</a></u><br/>
"; 
 
//echo "<img src=\"ikon/p.gif\" alt=\"reg\"/> 
"; 
//echo "<u><a href=\"videos.php?$ref\">Video  axtar  yukle</a></u><br/>
"; 
echo "<b></b><br/>
"; 
require "file/inc/bals.inc"; 
if($bals['myfun']!="0"){ 
if($operator == "azercell"){	 
$melo = "<a href=\"http://m.myfun.az/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;m=zeng&amp;$ref\">ZengimCell</a>(<b>Yeni!</b>)<br/>
"; 
$sms_link = "Azercell"; 
}elseif($operator == "bakcell"){	 
$sms_link = "Bakcell"; 
$melo = "<a href=\"http://wap.meloses.az/x/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;m=zeng&amp;$ref\">Meloton</a>(<b>Yeni!</b>)<br/>
"; 
}elseif($operator == "azerfon"){	 
$sms_link = "Nar-Mobile"; 
$melo = "<a href=\"http://wap.meloses.az/x/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;m=dinlet&amp;$ref\">Dinlet</a>(<b>Yeni!</b>)<br/>
"; 
}else{ 
$sms_link = ""; 
} 
if($operator == "azercell"){ 
 
echo $melo; 
echo "<a href=\"http://m.myfun.az/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;$ref\">Mobil Y&#252;klemeler</a>(Azercell)<br/>
"; 
echo "<a href=\"http://m.myfun.az/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;m=3&amp;id=10016&amp;$ref\">Qaynar Videolar</a>(+18)<br/>
"; 
//$fnc->divide(); 
 
}elseif($operator == "bakcell" or $operator == "azerfon"){ 
 
echo $melo; 
//echo "<a href=\"http://wap.meloses.az/x/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;$ref\">Mobil Y&#252;klemeler</a>($sms_link)<br/>
"; 
//echo "<a href=\"http://wap.meloses.az/x/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;m=3&amp;id=10016&amp;$ref\">Qaynar Videolar</a>(+18)<br/>
"; 
//$fnc->divide(); 
 
} 
} 
$qey1 = file("file/log/2.dat"); 
$link1 = trim($qey1[0]); 
$link2 = trim($qey1[1]); 
$link3 = trim($qey1[2]); 
$link4 = trim($qey1[3]); 
$link5 = trim($qey1[4]); 
$link6 = trim($qey1[5]); 
$link7 = trim($qey1[6]); 
$link8 = trim($qey1[7]); 
 
 
echo "<img src=\"ikon/sms.gif\" alt=\"reg\"/> 
"; 
include("online_sms.php"); 
 
 
echo "<img src=\"ikon/3gul.png\" alt=\"reg\"/> 
"; 
echo "<b></b><br/>
"; 
 
 
 
if($link1)echo "<a href=\"http://$link1\">$link2</a><br/>"; 
if($link3)echo "<a href=\"http://$link3\">$link4</a><br/>"; 
if($link5)echo "<a href=\"http://$link5\">$link6</a><br/>"; 
if($link7)echo "<a href=\"http://$link7\">$link8</a><br/>"; 
if($link1)$fnc->divide(); 
 
$img = trim($qey[2]); 
$metn = trim($qey[3]); 
if($img)echo "<img src=\"http://$img\" alt=\"&#350;ekil\"/><br/>"; 
if($metn)echo "$metn<br/>*****<br/>"; 
 
$q = mysql_query ("select id,title,saat,content from elan where saat> '".$SERVER_TIME."' and `hara` = '0' group by id desc"); 
while($arr=@mysql_fetch_array($q)) { 
//echo "<i>".$fnc->smile($arr['title'])."</i>... <br/><b>&#304;mza</b>: <u>".$arr['content']."</u><br/>
"; 
$mxs="1"; 
} 
if($mxs=="1")$fnc->divide(); 
 
$sql = mysql_query("SELECT * FROM `savik_reklam` where harda = '1' and mud > '".$SERVER_TIME."' ORDER BY `id` asc;"); 
if(mysql_num_rows($sql) != 0) { 
while($savik_s = mysql_fetch_array($sql)) 
{ 
$reki = 1; 
echo "Reklam: <a href=\"http://".$savik_s["urlu"]."/?$ref\">".$savik_s["adi"]."</a><br/>
"; 
} 
} 
if($reki=="1")echo "-=^-^=-<br/>
"; 
 
function cuci($str){ 
$str = strtolower($str); 
$_str_arr = array 
( 
"az"   => "da", 
"biz"  => "de", 
"net"  => "de", 
"ru"   => "da", 
"info" => "da", 
"tk"   => "da", 
"com"  => "da", 
"us"   => "da", 
"org"  => "da", 
"su"   => "da", 
"name" => "de", 
"mobi" => "de", 
"su" => "da", 
"ws" => "de" 
); 
if($_str_arr[$str]){ 
return $_str_arr[$str]; 
} else { 
return 'sayt&#305;nda'; 
} 
} 
$rev = strrev($site); 
$ex = explode(".",$rev); 
$domain = strrev($ex[0]); 
 
if($onlayn=="0"){ 
echo "&#199;atda he&#231;kes yoxdur !<br/>"; 
}else{ 
 
echo "<img src=\"ikon/gul.png\" alt=\"reg\"/> 
"; 
echo "<b></b><br/>
"; 
 
//echo"<b><u></u></u> Chatda <a href=\"o_line.php?".$ver."ref=$ref\">".$onlayn."</a> Nefer Var <br/>"; 
 
//echo "<img src=\"ikon/gul.png\" alt=\"reg\"/> 
"; 
 
} 
//echo $divide; 
$fnc->action("enter.php?".$ver."ref=$ref"); 
 
 
echo "<b>Nick ve ya ID:</b><br/>
"; 
echo $fnc->input('<input name="us" maxlength="30" title="nick"/>').'<br/>'; 
 
 
echo "<b>Parol:</b><br/>
"; 
if (strpos ($_SERVER['HTTP_USER_AGENT'],"Windows") != false){ 
echo $fnc->input('<input type="password" name="npass" maxlength="20" title="Parol"/>').'<br/>'; 
}else { 
echo $fnc->input('<input name="npass" maxlength="20" title="Parol"/><br/>'); 
} 
$fnc->wml('['); 
echo $fnc->submit1('Daxil Ol'); 
$fnc->wml(']<br/>'); 
echo $divide; 
 
echo "<img src=\"ikon/qeydiyyat.png\" alt=\"reg\"/> 
"; 
echo "<b><a href=\"reghelp.php?".$ver."$ref\">Qeydiyyat</a></b><br/>
"; 
echo "<b>[ 100% Tam Pulsuzdur ]<b></b><b/><br/>
"; 
echo "<img src=\"ikon/gul.png\" alt=\"reg\"/> 
"; 
echo "<b></b><br/>
"; 
 
 
//$umumi = $kisi+$qiz; 
//if($son!="")echo "<b>Yeni istifade&#231;i: <u>".$son."</u></b><br/>
"; 
//else echo "Yeni istifade&#231;i: <b>Anonim</b><br/>
"; 
//$newtoday=mysql_fetch_array(mysql_query("SELECT COUNT(`id`) from `users` WHERE `date` = '".date("d-m-Y",$SERVER_TIME)."';")); 
 
echo "<img src=\"ikon/y.png\" alt=\"reg\"/> 
"; 
echo "<u>Yeni Gelenler:  ".($newtoday[0])."</u></b><br/>
"; 
 
echo "<img src=\"ikon/kisi.png\" alt=\"reg\"/> 
"; 
echo "O&#287;lan: <b>".$kisi."</b> | 
"; 
 
echo "<img src=\"ikon/qiz.png\" alt=\"reg\"/> 
"; 
echo "Q&#305;z: <b>".$qiz."</b><br/>
"; 
//echo "<b></b><br/>
"; 
echo "<img src=\"ikon/gul.png\" alt=\"reg\"/> 
"; 
echo "<b></b><br/>
"; 
 
if($Savik_Cnt["today_users"]=="0")echo "Cemi qeydiyyat: <b>".$umumi."</b><br/>
"; 
 
$z_h = file("file/dat_folder/hediyye_i.dat"); 
if(trim($z_h[4]) > $SERVER_TIME){ 
echo "Son Hediyye:<br/>
"; 
echo "<img style=\"border-radius: 10px;\" src=\"".trim($z_h[2])."\" width=\"75\" height=\"75\" alt=\"Son Hediyye\"/><br/>
"; 
echo trim($z_h[0])." - ".trim($z_h[1])."<br/>
"; 
 
} 
//echo "Script Name: <a href=\"license.php?$ref\">Bodr Vip</a><br/>
"; 
 
 
echo "M&#252;ellif: <b>OmArChEk</b><br/>
"; 
echo "<img src=\"ikon/gul.png\" alt=\"reg\"/> 
"; 
echo "<b></b><br/>
"; 
 
echo "<a href=\"index.php?$ref\">Qalx.Az</a><br/>
"; 
echo "<b></b>Butun Huquqlar Qorunur! Yeni  Kuklam.Net 2o19<br/>
"; 
 
 
 
$file = fopen("online.dat", "w"); 
fwrite($file, $onlayn."
"); 
fclose($file); 
$img1 = trim($qey[4]); 
$img2 = trim($qey[5]); 
if($img1!="" or $img2!="")echo $divide; 
if($img1)echo $img1."<br/>
"; 
if($img2)echo $img2."<br/>
"; 
$fnc->divide(); 
//echo "<a href=\"http://$site/?".$ver."$ref\">$site</a><br/>
"; 
$fnc->foot(); 
mysql_close ($link); 
?> 

Did this file decode correctly?

Original Code

<?php
require("inc.php");
$link = $fnc->connect_db();
$operator = $fnc->operator($REMOTE_ADDR);
$ref = rand(10000,1000000);
$ip=getenv("REMOTE_ADDR");
$browser = strtok(getenv('HTTP_USER_AGENT'), "/");
$referer = str_replace ( "http://" , "" , $_SERVER['HTTP_REFERER']);
$referer = explode ( "/" , $referer );
$referer = $referer[0];
if (!isset($_SESSION['ref']) && !empty($referer) && $referer != "wap.localhost" && $referer != "localhost" && $referer != "www.".$_SERVER['HTTP_HOST']){
$sql = mysql_query( "insert into `referer` set `referer`='".$referer."', `time`=".$SERVER_TIME.", `date`='".date("d.m.Y", $SERVER_TIME)."', `browser`='".$browser."', `ip`='".$ip."' " );
$_SESSION['ref'] = "closed";
}

$adamlar = @mysql_query ("SELECT `son`,`qadin`,`kisi`,`max`,`tarix` FROM `conf` where `acar`='1';");
list($son,$qiz,$kisi,$max,$tarix) = mysql_fetch_array ($adamlar);

$online = mysql_query("SELECT COUNT(1) FROM `users` WHERE `time` > '".$ontime."' and `inv`!='3';");
$onlayn = mysql_result($online, 0);
$fnc->head("Chat ".$site, "center");
$qey = file("file/log/1.dat");
$img = trim($qey[0]);
$metn = trim($qey[1]);

if($img){
echo "<img src=\"http://$img\" alt=\"$site\"/><br/>";
}else{
echo "<b>$site</b><br/>\n";
}
if($metn)echo "$metn<br/>";
if($metn or $img)$fnc->divide();
//echo"<a href=\"http://mp3dinle.ws\"><b>Mp3 Axtar Yukle</b></a> (Pulsuz)<br/><br/>";

//echo "<img src=\"ikon/sms.gif\" alt=\"reg\"/> \n";
//include("online_sms.php");
$fnc->divide();
echo $divide;
//echo "<img src=\"ikon/mp3.gif\" alt=\"reg\"/> \n";
//echo "<u><a href=\"mp3.php?$ref\">Mp3  axtar  yukle</a></u><br/>\n";

//echo "<img src=\"ikon/p.gif\" alt=\"reg\"/> \n";
//echo "<u><a href=\"videos.php?$ref\">Video  axtar  yukle</a></u><br/>\n";
echo "<b></b><br/>\n";
require "file/inc/bals.inc";
if($bals['myfun']!="0"){
if($operator == "azercell"){	
$melo = "<a href=\"http://m.myfun.az/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;m=zeng&amp;$ref\">ZengimCell</a>(<b>Yeni!</b>)<br/>\n";
$sms_link = "Azercell";
}elseif($operator == "bakcell"){	
$sms_link = "Bakcell";
$melo = "<a href=\"http://wap.meloses.az/x/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;m=zeng&amp;$ref\">Meloton</a>(<b>Yeni!</b>)<br/>\n";
}elseif($operator == "azerfon"){	
$sms_link = "Nar-Mobile";
$melo = "<a href=\"http://wap.meloses.az/x/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;m=dinlet&amp;$ref\">Dinlet</a>(<b>Yeni!</b>)<br/>\n";
}else{
$sms_link = "";
}
if($operator == "azercell"){

echo $melo;
echo "<a href=\"http://m.myfun.az/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;$ref\">Mobil Y&#252;klemeler</a>(Azercell)<br/>\n";
echo "<a href=\"http://m.myfun.az/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;m=3&amp;id=10016&amp;$ref\">Qaynar Videolar</a>(+18)<br/>\n";
//$fnc->divide();

}elseif($operator == "bakcell" or $operator == "azerfon"){

echo $melo;
//echo "<a href=\"http://wap.meloses.az/x/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;$ref\">Mobil Y&#252;klemeler</a>($sms_link)<br/>\n";
//echo "<a href=\"http://wap.meloses.az/x/index.php?pid=".$bals['myfun']."&amp;site=$site&amp;m=3&amp;id=10016&amp;$ref\">Qaynar Videolar</a>(+18)<br/>\n";
//$fnc->divide();

}
}
$qey1 = file("file/log/2.dat");
$link1 = trim($qey1[0]);
$link2 = trim($qey1[1]);
$link3 = trim($qey1[2]);
$link4 = trim($qey1[3]);
$link5 = trim($qey1[4]);
$link6 = trim($qey1[5]);
$link7 = trim($qey1[6]);
$link8 = trim($qey1[7]);


echo "<img src=\"ikon/sms.gif\" alt=\"reg\"/> \n";
include("online_sms.php");


echo "<img src=\"ikon/3gul.png\" alt=\"reg\"/> \n";
echo "<b></b><br/>\n";



if($link1)echo "<a href=\"http://$link1\">$link2</a><br/>";
if($link3)echo "<a href=\"http://$link3\">$link4</a><br/>";
if($link5)echo "<a href=\"http://$link5\">$link6</a><br/>";
if($link7)echo "<a href=\"http://$link7\">$link8</a><br/>";
if($link1)$fnc->divide();

$img = trim($qey[2]);
$metn = trim($qey[3]);
if($img)echo "<img src=\"http://$img\" alt=\"&#350;ekil\"/><br/>";
if($metn)echo "$metn<br/>*****<br/>";

$q = mysql_query ("select id,title,saat,content from elan where saat> '".$SERVER_TIME."' and `hara` = '0' group by id desc");
while($arr=@mysql_fetch_array($q)) {
//echo "<i>".$fnc->smile($arr['title'])."</i>... <br/><b>&#304;mza</b>: <u>".$arr['content']."</u><br/>\n";
$mxs="1";
}
if($mxs=="1")$fnc->divide();

$sql = mysql_query("SELECT * FROM `savik_reklam` where harda = '1' and mud > '".$SERVER_TIME."' ORDER BY `id` asc;");
if(mysql_num_rows($sql) != 0) {
while($savik_s = mysql_fetch_array($sql))
{
$reki = 1;
echo "Reklam: <a href=\"http://".$savik_s["urlu"]."/?$ref\">".$savik_s["adi"]."</a><br/>\n";
}
}
if($reki=="1")echo "-=^-^=-<br/>\n";

function cuci($str){
$str = strtolower($str);
$_str_arr = array
(
"az"   => "da",
"biz"  => "de",
"net"  => "de",
"ru"   => "da",
"info" => "da",
"tk"   => "da",
"com"  => "da",
"us"   => "da",
"org"  => "da",
"su"   => "da",
"name" => "de",
"mobi" => "de",
"su" => "da",
"ws" => "de"
);
if($_str_arr[$str]){
return $_str_arr[$str];
} else {
return 'sayt&#305;nda';
}
}
$rev = strrev($site);
$ex = explode(".",$rev);
$domain = strrev($ex[0]);

if($onlayn=="0"){
echo "&#199;atda he&#231;kes yoxdur !<br/>";
}else{

echo "<img src=\"ikon/gul.png\" alt=\"reg\"/> \n";
echo "<b></b><br/>\n";

//echo"<b><u></u></u> Chatda <a href=\"o_line.php?".$ver."ref=$ref\">".$onlayn."</a> Nefer Var <br/>";

//echo "<img src=\"ikon/gul.png\" alt=\"reg\"/> \n";

}
//echo $divide;
$fnc->action("enter.php?".$ver."ref=$ref");


echo "<b>Nick ve ya ID:</b><br/>\n";
echo $fnc->input('<input name="us" maxlength="30" title="nick"/>').'<br/>';


echo "<b>Parol:</b><br/>\n";
if (strpos ($_SERVER['HTTP_USER_AGENT'],"Windows") != false){
echo $fnc->input('<input type="password" name="npass" maxlength="20" title="Parol"/>').'<br/>';
}else {
echo $fnc->input('<input name="npass" maxlength="20" title="Parol"/><br/>');
}
$fnc->wml('[');
echo $fnc->submit1('Daxil Ol');
$fnc->wml(']<br/>');
echo $divide;

echo "<img src=\"ikon/qeydiyyat.png\" alt=\"reg\"/> \n";
echo "<b><a href=\"reghelp.php?".$ver."$ref\">Qeydiyyat</a></b><br/>\n";
echo "<b>[ 100% Tam Pulsuzdur ]<b></b><b/><br/>\n";
echo "<img src=\"ikon/gul.png\" alt=\"reg\"/> \n";
echo "<b></b><br/>\n";


//$umumi = $kisi+$qiz;
//if($son!="")echo "<b>Yeni istifade&#231;i: <u>".$son."</u></b><br/>\n";
//else echo "Yeni istifade&#231;i: <b>Anonim</b><br/>\n";
//$newtoday=mysql_fetch_array(mysql_query("SELECT COUNT(`id`) from `users` WHERE `date` = '".date("d-m-Y",$SERVER_TIME)."';"));

echo "<img src=\"ikon/y.png\" alt=\"reg\"/> \n";
echo "<u>Yeni Gelenler:  ".($newtoday[0])."</u></b><br/>\n";

echo "<img src=\"ikon/kisi.png\" alt=\"reg\"/> \n";
echo "O&#287;lan: <b>".$kisi."</b> | \n";

echo "<img src=\"ikon/qiz.png\" alt=\"reg\"/> \n";
echo "Q&#305;z: <b>".$qiz."</b><br/>\n";
//echo "<b></b><br/>\n";
echo "<img src=\"ikon/gul.png\" alt=\"reg\"/> \n";
echo "<b></b><br/>\n";

if($Savik_Cnt["today_users"]=="0")echo "Cemi qeydiyyat: <b>".$umumi."</b><br/>\n";

$z_h = file("file/dat_folder/hediyye_i.dat");
if(trim($z_h[4]) > $SERVER_TIME){
echo "Son Hediyye:<br/>\n";
echo "<img style=\"border-radius: 10px;\" src=\"".trim($z_h[2])."\" width=\"75\" height=\"75\" alt=\"Son Hediyye\"/><br/>\n";
echo trim($z_h[0])." - ".trim($z_h[1])."<br/>\n";

}
//echo "Script Name: <a href=\"license.php?$ref\">Bodr Vip</a><br/>\n";


echo "M&#252;ellif: <b>OmArChEk</b><br/>\n";
echo "<img src=\"ikon/gul.png\" alt=\"reg\"/> \n";
echo "<b></b><br/>\n";

echo "<a href=\"index.php?$ref\">Qalx.Az</a><br/>\n";
echo "<b></b>Butun Huquqlar Qorunur! Yeni  Kuklam.Net 2o19<br/>\n";



$file = fopen("online.dat", "w");
fwrite($file, $onlayn."\n");
fclose($file);
$img1 = trim($qey[4]);
$img2 = trim($qey[5]);
if($img1!="" or $img2!="")echo $divide;
if($img1)echo $img1."<br/>\n";
if($img2)echo $img2."<br/>\n";
$fnc->divide();
//echo "<a href=\"http://$site/?".$ver."$ref\">$site</a><br/>\n";
$fnc->foot();
mysql_close ($link);
?>

Function Calls

None

Variables

None

Stats

MD5 57a99078e695efdd7d1679c90528b6d2
Eval Count 0
Decode Time 227 ms