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 include("ayarlar.php"); error_reporting(0); $ayarlar = $Baglan->query("SELECT *..
Decoded Output download
<?php
include("ayarlar.php");
error_reporting(0);
$ayarlar = $Baglan->query("SELECT * FROM ycwebdesign_site_ayarlari");
$site_ayar = $ayarlar->fetch_array();
$tarih = date("d.m.Y");
$saat = date("H:i");
function tarihsaat(){
date_default_timezone_set('Europe/Berlin');
setlocale(LC_ALL,'de_DE.UTF-8');
$Gun = iconv('latin5','utf-8',strftime("%A",strtotime("now")));
$AyveYil = iconv('latin5','utf-8',strftime("%d,%B,%Y",strtotime("now")));
echo "".$AyveYil." ";
print " "." "."/"." "." ";
echo "".$Gun." ";
print " "." "."/"." "." ";
$Saat = date("H:i:s");
echo $Saat;
}function tarihsaat1(){
setlocale(LC_ALL);
date_default_timezone_set('Europe/Berlin');
$Gun = iconv('latin5','utf-8',strftime("%A",strtotime("now")));
$AyveYil = iconv('latin5','utf-8',strftime("%d,%B,%Y",strtotime("now")));
echo "".$AyveYil." ";
print " "." "."/"." "." ";
echo "".$Gun." ";
print " "." "."/"." "." ";
$Saat = date("H:i:s");
echo $Saat;
}function kontrol($Deger){
$Kontrol = array("Salak","Aptal","Geri Zekal","Mal","Http://www.","http://","Www",".Com",".Net","meta","Http","equiv","refresh","Content","url","Pi",";","=","pi");
$Degistir = array("***","***","***","***","***","***","***","***","***","***","***","***","***","***","***","***","***","***","***");
$islem = str_replace($Kontrol,$Degistir,ucwords(strtolower($Deger)));
return $islem;
}function IP(){
if(getenv("HTTP_CLIENT_IP")) {
$ip = getenv("HTTP_CLIENT_IP");
}elseif(getenv("HTTP_X_FORWARDED_FOR")) {
$ip = getenv("HTTP_X_FORWARDED_FOR");
if (strstr($ip, ',')) {
$tmp = explode (',', $ip);
$ip = trim($tmp[0]);
}}else{
$ip = getenv("REMOTE_ADDR");
} return $ip;
}function yonlen ($url, $time = 0){
if ($time) header("Refresh: {$time}; url={$url}");
else header("Location: {$url}");
}function seflink($tr){
$Turkce = array("","","","","","","","","","","","","","","","","","","","","","","","","","",".");
$Duzelt = array("s","S","i","u","U","o","O","c","C","s","S","i","g","G","I","o","O","C","c","u","U","a","A","s","A","E"," ");
$tr = str_replace($Turkce,$Duzelt,$tr);
$tr = preg_replace("@[^a-z0-9\-_]+@i","-",$tr);
return $tr;
}
function seo1($tr12) {
$turkce=array("","","","","","","","","","","","","","","","","","","","","","","","","","",".");
$duzgun=array("s","S","i","u","U","o","O","c","C","s","S","i","g","G","I","o","O","C","c","u","U","a","A","s","A","E"," ");
$tr12=str_replace($turkce,$duzgun,$tr12);
return $tr12;
}
function seo2($tr12) {
$turkce=array("ä","Ä","ö","Ö","ü","Ü","ß"," ","¢","£","¤","¥"," ¦","§","¨","©","Ç","ğ","Ğ","ı","İ","ş","Ş","ç","€");
$duzgun=array("","","","","","",""," ","","","","","","","","","","","","","","","","","");
$tr12=str_replace($turkce,$duzgun,$tr12);
return $tr12;
}
function yazdir($say) {
return mysqli_num_rows($say);
}function kes($Kelime, $Limit){
$Kelime = substr($Kelime, 0, $Limit)."...";
$metin_son = strrchr($Kelime, " ");
$Kelime = str_replace($metin_son," ...", $Kelime);
return $Kelime;
}
function guvenlik2($val)
{
$tarama=strip_tags($val); // javascript html gibi komutlar temizler
$tarama=addslashes($tarama); // sql injection aklarn kapatr.
return $tarama;
}
function giriskontrol(){
$Anahtar = MD5(SHA1($_SERVER['HTTP_USER_AGENT']));
if($_SESSION['giris'] == $Anahtar){
$IslemBasarili=true;
}else{
echo '<script language="javascript">window.location="index.php";</script>';
$IslemBasarili=false;
}
return $IslemBasarili;
}
function sistem(){
$dosya = file_get_contents('footer.php');
if( !preg_match('#<strong>Copyright © 2016 <i class="fa fa-code"></i> <a href="http://www.yc-webdesign.de" target="_blank"> Yc-Webdesign</a> <i class="fa fa-code"></i></strong> Yeni Nesil Ynetim Panelleri.#' , $dosya) ){
exit("<html><head><title>Byk Hata !</title><meta charset=\"UTF-8\"><font face=\"Times\"><center><h3><br /><br /><br /><b>Ltfen Footer'da Deiim, Yazlm Yapmcsnn smi ve Linkiyle Oynama yapmaynz !<br /><br />Bu Yazlm <a href=\"http://www.hddizayn.com\"> HDDIZAYN WEB TASARIM</a> Tarafndan Kodlanmtr.<br /><br /> Yaptnz Deiiklii Geri Almazsanz, Uyar Sayfas, Ekranda Ebedi Olarak Kalacaktr !<br /><br /><br /> Emek Hrszlarna Engel.</b></h3></center></font></head></html>");
}}function guvenlik(){
$dosya = file_get_contents('footer.php');
if( !preg_match('#href="http://www.yc-webdesign.de "target="_blank"><b style="color: white">YC- <i style="color: white" class="fa fa-code"></i> WEBDESIGN <i style="color: white" class="fa fa-code"></i></b></a>#' , $dosya) ){
exit("<html><head><title>Byk Hata !</title><meta charset=\"UTF-8\"><font face=\"Times\"><center><h3><br /><br /><br /><b>Ltfen Footer'da Deiim, Yazlm Yapmcsnn smi ve Linkiyle Oynama yapmaynz !<br /><br />Bu Yazlm <a href=\"http://www.hddizayn.com\"> HDDIZAYN WEB TASARIM</a> Tarafndan Kodlanmtr.<br /><br /> Yaptnz Deiiklii Geri Almazsanz, Uyar Sayfas, Ekranda Ebedi Olarak Kalacaktr !<br /><br /><br /> Emek Hrszlarna Engel.</b></h3></center></font></head></html>");
echo '
<title>Balant Sorunu</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div style="font-weight:bold; font-family:Georgia" align="center">
</div>';
}}
?>
Did this file decode correctly?
Original Code
<?php
include("ayarlar.php");
error_reporting(0);
$ayarlar = $Baglan->query("SELECT * FROM ycwebdesign_site_ayarlari");
$site_ayar = $ayarlar->fetch_array();
$tarih = date("d.m.Y");
$saat = date("H:i");
function tarihsaat(){
date_default_timezone_set('Europe/Berlin');
setlocale(LC_ALL,'de_DE.UTF-8');
$Gun = iconv('latin5','utf-8',strftime("%A",strtotime("now")));
$AyveYil = iconv('latin5','utf-8',strftime("%d,%B,%Y",strtotime("now")));
echo "".$AyveYil." ";
print " "." "."/"." "." ";
echo "".$Gun." ";
print " "." "."/"." "." ";
$Saat = date("H:i:s");
echo $Saat;
}function tarihsaat1(){
setlocale(LC_ALL);
date_default_timezone_set('Europe/Berlin');
$Gun = iconv('latin5','utf-8',strftime("%A",strtotime("now")));
$AyveYil = iconv('latin5','utf-8',strftime("%d,%B,%Y",strtotime("now")));
echo "".$AyveYil." ";
print " "." "."/"." "." ";
echo "".$Gun." ";
print " "." "."/"." "." ";
$Saat = date("H:i:s");
echo $Saat;
}function kontrol($Deger){
$Kontrol = array("Salak","Aptal","Geri Zekal","Mal","Http://www.","http://","Www",".Com",".Net","meta","Http","equiv","refresh","Content","url","Pi",";","=","pi");
$Degistir = array("***","***","***","***","***","***","***","***","***","***","***","***","***","***","***","***","***","***","***");
$islem = str_replace($Kontrol,$Degistir,ucwords(strtolower($Deger)));
return $islem;
}function IP(){
if(getenv("HTTP_CLIENT_IP")) {
$ip = getenv("HTTP_CLIENT_IP");
}elseif(getenv("HTTP_X_FORWARDED_FOR")) {
$ip = getenv("HTTP_X_FORWARDED_FOR");
if (strstr($ip, ',')) {
$tmp = explode (',', $ip);
$ip = trim($tmp[0]);
}}else{
$ip = getenv("REMOTE_ADDR");
} return $ip;
}function yonlen ($url, $time = 0){
if ($time) header("Refresh: {$time}; url={$url}");
else header("Location: {$url}");
}function seflink($tr){
$Turkce = array("","","","","","","","","","","","","","","","","","","","","","","","","","",".");
$Duzelt = array("s","S","i","u","U","o","O","c","C","s","S","i","g","G","I","o","O","C","c","u","U","a","A","s","A","E"," ");
$tr = str_replace($Turkce,$Duzelt,$tr);
$tr = preg_replace("@[^a-z0-9\-_]+@i","-",$tr);
return $tr;
}
function seo1($tr12) {
$turkce=array("","","","","","","","","","","","","","","","","","","","","","","","","","",".");
$duzgun=array("s","S","i","u","U","o","O","c","C","s","S","i","g","G","I","o","O","C","c","u","U","a","A","s","A","E"," ");
$tr12=str_replace($turkce,$duzgun,$tr12);
return $tr12;
}
function seo2($tr12) {
$turkce=array("ä","Ä","ö","Ö","ü","Ü","ß"," ","¢","£","¤","¥"," ¦","§","¨","©","Ç","ğ","Ğ","ı","İ","ş","Ş","ç","€");
$duzgun=array("","","","","","",""," ","","","","","","","","","","","","","","","","","");
$tr12=str_replace($turkce,$duzgun,$tr12);
return $tr12;
}
function yazdir($say) {
return mysqli_num_rows($say);
}function kes($Kelime, $Limit){
$Kelime = substr($Kelime, 0, $Limit)."...";
$metin_son = strrchr($Kelime, " ");
$Kelime = str_replace($metin_son," ...", $Kelime);
return $Kelime;
}
function guvenlik2($val)
{
$tarama=strip_tags($val); // javascript html gibi komutlar temizler
$tarama=addslashes($tarama); // sql injection aklarn kapatr.
return $tarama;
}
function giriskontrol(){
$Anahtar = MD5(SHA1($_SERVER['HTTP_USER_AGENT']));
if($_SESSION['giris'] == $Anahtar){
$IslemBasarili=true;
}else{
echo '<script language="javascript">window.location="index.php";</script>';
$IslemBasarili=false;
}
return $IslemBasarili;
}
function sistem(){
$dosya = file_get_contents('footer.php');
if( !preg_match('#<strong>Copyright © 2016 <i class="fa fa-code"></i> <a href="http://www.yc-webdesign.de" target="_blank"> Yc-Webdesign</a> <i class="fa fa-code"></i></strong> Yeni Nesil Ynetim Panelleri.#' , $dosya) ){
exit("<html><head><title>Byk Hata !</title><meta charset=\"UTF-8\"><font face=\"Times\"><center><h3><br /><br /><br /><b>Ltfen Footer'da Deiim, Yazlm Yapmcsnn smi ve Linkiyle Oynama yapmaynz !<br /><br />Bu Yazlm <a href=\"http://www.hddizayn.com\"> HDDIZAYN WEB TASARIM</a> Tarafndan Kodlanmtr.<br /><br /> Yaptnz Deiiklii Geri Almazsanz, Uyar Sayfas, Ekranda Ebedi Olarak Kalacaktr !<br /><br /><br /> Emek Hrszlarna Engel.</b></h3></center></font></head></html>");
}}function guvenlik(){
$dosya = file_get_contents('footer.php');
if( !preg_match('#href="http://www.yc-webdesign.de "target="_blank"><b style="color: white">YC- <i style="color: white" class="fa fa-code"></i> WEBDESIGN <i style="color: white" class="fa fa-code"></i></b></a>#' , $dosya) ){
exit("<html><head><title>Byk Hata !</title><meta charset=\"UTF-8\"><font face=\"Times\"><center><h3><br /><br /><br /><b>Ltfen Footer'da Deiim, Yazlm Yapmcsnn smi ve Linkiyle Oynama yapmaynz !<br /><br />Bu Yazlm <a href=\"http://www.hddizayn.com\"> HDDIZAYN WEB TASARIM</a> Tarafndan Kodlanmtr.<br /><br /> Yaptnz Deiiklii Geri Almazsanz, Uyar Sayfas, Ekranda Ebedi Olarak Kalacaktr !<br /><br /><br /> Emek Hrszlarna Engel.</b></h3></center></font></head></html>");
echo '
<title>Balant Sorunu</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div style="font-weight:bold; font-family:Georgia" align="center">
</div>';
}}
?>
Function Calls
None |
Stats
MD5 | 84a7ffa474c9775ff171ab173338661a |
Eval Count | 0 |
Decode Time | 63 ms |