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 <?php /** * * @author Genweb Web Yazlm Hizmetleri <gencweb.com.tr> * @version..
Decoded Output download
<?php <?php /**
*
* @author Genweb Web Yazlm Hizmetleri <gencweb.com.tr>
* @version 0.3a1
*
*/ namespace GencWeb;/* Require the DB Class and Log Class */require_once(__DIR__.base64_decode('L0RCL0dlbmN3ZWIuREIuY2xhc3MucGhw'));use DB;use Log;class ud{# Main Database
public $ve;# IP Adress
public $if;/* Construct of Genweb Class */ public function l0(){$this->$g10=new w11(parse_ini_file(__DIR__.base64_decode('Ly4uL0RCLmluaS5waHA=')));/* Create the main database connection */ if(!empty($_SERVER[base64_decode('SFRUUF9DTElFTlRfSVA=')])){$this->$z12=$_SERVER[base64_decode('SFRUUF9DTElFTlRfSVA=')];}elseif(!empty($_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9GT1I=')])){$this->$z12=$_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9GT1I=')];}else{$this->$z12=$_SERVER[base64_decode('UkVNT1RFX0FERFI=')];}}/* Create a log */ public static function e1($p13=base64_decode('RW1wdHk=')){$d14=new e1();$d14->n15($p13);}/* Print the date formatted, Turkish */ public static function x2($a16=base64_decode('bm93'),$u17=base64_decode('ZCBGIFkgSDppOnM=')){$n18=date("$u17",strtotime($a16));$c19=array(base64_decode('TW9uZGF5')=>base64_decode('UGF6YXJ0ZXNp'),base64_decode('VHVlc2RheQ==')=>base64_decode('U2FsxLE='),base64_decode('V2VkbmVzZGF5')=>base64_decode('w4dhcsWfYW1iYQ=='),base64_decode('VGh1cnNkYXk=')=>base64_decode('UGVyxZ9lbWJl'),base64_decode('RnJpZGF5')=>base64_decode('Q3VtYQ=='),base64_decode('U2F0dXJkYXk=')=>base64_decode('Q3VtYXJ0ZXNp'),base64_decode('U3VuZGF5')=>base64_decode('UGF6YXI='),base64_decode('SmFudWFyeQ==')=>base64_decode('T2Nhaw=='),base64_decode('RmVicnVhcnk=')=>base64_decode('xZ51YmF0'),base64_decode('TWFyY2g=')=>base64_decode('TWFydA=='),base64_decode('QXByaWw=')=>base64_decode('TmlzYW4='),base64_decode('TWF5')=>base64_decode('TWF5xLFz'),base64_decode('SnVuZQ==')=>base64_decode('SGF6aXJhbg=='),base64_decode('SnVseQ==')=>base64_decode('VGVtbXV6'),base64_decode('QXVndXN0')=>base64_decode('QcSfdXN0b3M='),base64_decode('U2VwdGVtYmVy')=>base64_decode('RXlsw7xs'),base64_decode('T2N0b2Jlcg==')=>base64_decode('RWtpbQ=='),base64_decode('Tm92ZW1iZXI=')=>base64_decode('S2FzxLFt'),base64_decode('RGVjZW1iZXI=')=>base64_decode('QXJhbMSxaw=='),base64_decode('TW9u')=>base64_decode('UHRz'),base64_decode('VHVl')=>base64_decode('U2Fs'),base64_decode('V2Vk')=>base64_decode('w4dhcg=='),base64_decode('VGh1')=>base64_decode('UGVy'),base64_decode('RnJp')=>base64_decode('Q3Vt'),base64_decode('U2F0')=>base64_decode('Q3Rz'),base64_decode('U3Vu')=>base64_decode('UGF6'),base64_decode('SmFu')=>base64_decode('T2Nh'),base64_decode('RmVi')=>base64_decode('xZ51Yg=='),base64_decode('TWFy')=>base64_decode('TWFy'),base64_decode('QXBy')=>base64_decode('Tmlz'),base64_decode('SnVu')=>base64_decode('SGF6'),base64_decode('SnVs')=>base64_decode('VGVt'),base64_decode('QXVn')=>base64_decode('QcSfdQ=='),base64_decode('U2Vw')=>base64_decode('RXls'),base64_decode('T2N0')=>base64_decode('RWtp'),base64_decode('Tm92')=>base64_decode('S2Fz'),base64_decode('RGVj')=>base64_decode('QXJh'),);foreach($c19 as $l1a=>$y1b){$n18=str_replace($l1a,$y1b,$n18);}if(strpos($n18,base64_decode('TWF5xLFz'))!==false&&strpos($u17,base64_decode('Rg=='))===false)$n18=str_replace(base64_decode('TWF5xLFz'),base64_decode('TWF5'),$n18);return $n18;}/* Shortcut for GET */ public static function a3($d1c,$r1d=NULL){return array_key_exists($d1c,$_GET)?$_GET[$d1c]:$r1d;}/* Shortcut for POST */ public static function o4($d1c,$r1d=NULL){return array_key_exists($d1c,$_POST)?$_POST[$d1c]:$r1d;}/* Shortcut for FILES */ public static function y5($d1c,$r1d=NULL){return array_key_exists($d1c,$_FILES)?$_FILES[$d1c]:$r1d;}/* JSON Encoding with UTF8 */ public static function r6($g1e){return json_encode($g1e,JSON_UNESCAPED_UNICODE);}/* JSON Decoding */ public static function b7($g1e){return json_decode($g1e,true);}/* Read the json file and parse it */ public static function p8($w1f){$l20=file_get_contents($w1f);return self::b7($l20);}/* Generates random id */ public static function m9($n21=4){$o22=rand(1,9);$o23=0;while($o23<$n21-1){$n24=rand(1,9);$o22.=$n24;$o23++;}return $o22;}/* Upload image and return the DB dir */ public static function ia($o25,$r26){# Directory seperator change
$w27=str_replace(base64_decode('Lw=='),DIRECTORY_SEPARATOR,$r26);$w27=$_SERVER[base64_decode('RE9DVU1FTlRfUk9PVA==')].$w27;# Create random code
$h28=self::m9(6);$w27.=base64_decode('R1c=').$h28.base64_decode('Lg==').pathinfo($o25[base64_decode('bmFtZQ==')],PATHINFO_EXTENSION);$z29=$r26.base64_decode('R1c=').$h28.base64_decode('Lg==').pathinfo($o25[base64_decode('bmFtZQ==')],PATHINFO_EXTENSION);;if(move_uploaded_file($o25[base64_decode('dG1wX25hbWU=')],$w27)){return $z29;}else{return false;}}public function nb(){return $this->$z12;}}# Sub classes
include_once(base64_decode('R2VuY3dlYi5Sb3V0ZS5jbGFzcy5waHA='));include_once(base64_decode('R2VuY3dlYi5VdGlscy5jbGFzcy5waHA='));# App classes
include_once(base64_decode('R2VuY3dlYi5Vc2VyLmNsYXNzLnBocA=='));# Import all routes
zc(__DIR__.base64_decode('Ly4uLy4uL3JvdXRlcy8='));# Default timezone
date_default_timezone_set(base64_decode('RXVyb3BlL0lzdGFuYnVs'));# SSL Redirect
if(empty($_SERVER[base64_decode('SFRUUFM=')])||$_SERVER[base64_decode('SFRUUFM=')]==base64_decode('b2Zm')){$r2a=base64_decode('aHR0cHM6Ly8=').$_SERVER[base64_decode('SFRUUF9IT1NU')].$_SERVER[base64_decode('UkVRVUVTVF9VUkk=')];header(base64_decode('SFRUUC8xLjEgMzAxIE1vdmVkIFBlcm1hbmVudGx5'));header(base64_decode('TG9jYXRpb246IA==').$r2a);exit();}# Including all PHP* files
function zc($r2b){foreach(glob("{$r2b}/*.php")as $j2c){include_once $j2c;}}?>
Did this file decode correctly?
Original Code
<?php <?php /**
*
* @author Genweb Web Yazlm Hizmetleri <gencweb.com.tr>
* @version 0.3a1
*
*/ namespace GencWeb;/* Require the DB Class and Log Class */require_once(__DIR__.base64_decode('L0RCL0dlbmN3ZWIuREIuY2xhc3MucGhw'));use DB;use Log;class ud{# Main Database
public $ve;# IP Adress
public $if;/* Construct of Genweb Class */ public function l0(){$this->$g10=new w11(parse_ini_file(__DIR__.base64_decode('Ly4uL0RCLmluaS5waHA=')));/* Create the main database connection */ if(!empty($_SERVER[base64_decode('SFRUUF9DTElFTlRfSVA=')])){$this->$z12=$_SERVER[base64_decode('SFRUUF9DTElFTlRfSVA=')];}elseif(!empty($_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9GT1I=')])){$this->$z12=$_SERVER[base64_decode('SFRUUF9YX0ZPUldBUkRFRF9GT1I=')];}else{$this->$z12=$_SERVER[base64_decode('UkVNT1RFX0FERFI=')];}}/* Create a log */ public static function e1($p13=base64_decode('RW1wdHk=')){$d14=new e1();$d14->n15($p13);}/* Print the date formatted, Turkish */ public static function x2($a16=base64_decode('bm93'),$u17=base64_decode('ZCBGIFkgSDppOnM=')){$n18=date("$u17",strtotime($a16));$c19=array(base64_decode('TW9uZGF5')=>base64_decode('UGF6YXJ0ZXNp'),base64_decode('VHVlc2RheQ==')=>base64_decode('U2FsxLE='),base64_decode('V2VkbmVzZGF5')=>base64_decode('w4dhcsWfYW1iYQ=='),base64_decode('VGh1cnNkYXk=')=>base64_decode('UGVyxZ9lbWJl'),base64_decode('RnJpZGF5')=>base64_decode('Q3VtYQ=='),base64_decode('U2F0dXJkYXk=')=>base64_decode('Q3VtYXJ0ZXNp'),base64_decode('U3VuZGF5')=>base64_decode('UGF6YXI='),base64_decode('SmFudWFyeQ==')=>base64_decode('T2Nhaw=='),base64_decode('RmVicnVhcnk=')=>base64_decode('xZ51YmF0'),base64_decode('TWFyY2g=')=>base64_decode('TWFydA=='),base64_decode('QXByaWw=')=>base64_decode('TmlzYW4='),base64_decode('TWF5')=>base64_decode('TWF5xLFz'),base64_decode('SnVuZQ==')=>base64_decode('SGF6aXJhbg=='),base64_decode('SnVseQ==')=>base64_decode('VGVtbXV6'),base64_decode('QXVndXN0')=>base64_decode('QcSfdXN0b3M='),base64_decode('U2VwdGVtYmVy')=>base64_decode('RXlsw7xs'),base64_decode('T2N0b2Jlcg==')=>base64_decode('RWtpbQ=='),base64_decode('Tm92ZW1iZXI=')=>base64_decode('S2FzxLFt'),base64_decode('RGVjZW1iZXI=')=>base64_decode('QXJhbMSxaw=='),base64_decode('TW9u')=>base64_decode('UHRz'),base64_decode('VHVl')=>base64_decode('U2Fs'),base64_decode('V2Vk')=>base64_decode('w4dhcg=='),base64_decode('VGh1')=>base64_decode('UGVy'),base64_decode('RnJp')=>base64_decode('Q3Vt'),base64_decode('U2F0')=>base64_decode('Q3Rz'),base64_decode('U3Vu')=>base64_decode('UGF6'),base64_decode('SmFu')=>base64_decode('T2Nh'),base64_decode('RmVi')=>base64_decode('xZ51Yg=='),base64_decode('TWFy')=>base64_decode('TWFy'),base64_decode('QXBy')=>base64_decode('Tmlz'),base64_decode('SnVu')=>base64_decode('SGF6'),base64_decode('SnVs')=>base64_decode('VGVt'),base64_decode('QXVn')=>base64_decode('QcSfdQ=='),base64_decode('U2Vw')=>base64_decode('RXls'),base64_decode('T2N0')=>base64_decode('RWtp'),base64_decode('Tm92')=>base64_decode('S2Fz'),base64_decode('RGVj')=>base64_decode('QXJh'),);foreach($c19 as $l1a=>$y1b){$n18=str_replace($l1a,$y1b,$n18);}if(strpos($n18,base64_decode('TWF5xLFz'))!==false&&strpos($u17,base64_decode('Rg=='))===false)$n18=str_replace(base64_decode('TWF5xLFz'),base64_decode('TWF5'),$n18);return $n18;}/* Shortcut for GET */ public static function a3($d1c,$r1d=NULL){return array_key_exists($d1c,$_GET)?$_GET[$d1c]:$r1d;}/* Shortcut for POST */ public static function o4($d1c,$r1d=NULL){return array_key_exists($d1c,$_POST)?$_POST[$d1c]:$r1d;}/* Shortcut for FILES */ public static function y5($d1c,$r1d=NULL){return array_key_exists($d1c,$_FILES)?$_FILES[$d1c]:$r1d;}/* JSON Encoding with UTF8 */ public static function r6($g1e){return json_encode($g1e,JSON_UNESCAPED_UNICODE);}/* JSON Decoding */ public static function b7($g1e){return json_decode($g1e,true);}/* Read the json file and parse it */ public static function p8($w1f){$l20=file_get_contents($w1f);return self::b7($l20);}/* Generates random id */ public static function m9($n21=4){$o22=rand(1,9);$o23=0;while($o23<$n21-1){$n24=rand(1,9);$o22.=$n24;$o23++;}return $o22;}/* Upload image and return the DB dir */ public static function ia($o25,$r26){# Directory seperator change
$w27=str_replace(base64_decode('Lw=='),DIRECTORY_SEPARATOR,$r26);$w27=$_SERVER[base64_decode('RE9DVU1FTlRfUk9PVA==')].$w27;# Create random code
$h28=self::m9(6);$w27.=base64_decode('R1c=').$h28.base64_decode('Lg==').pathinfo($o25[base64_decode('bmFtZQ==')],PATHINFO_EXTENSION);$z29=$r26.base64_decode('R1c=').$h28.base64_decode('Lg==').pathinfo($o25[base64_decode('bmFtZQ==')],PATHINFO_EXTENSION);;if(move_uploaded_file($o25[base64_decode('dG1wX25hbWU=')],$w27)){return $z29;}else{return false;}}public function nb(){return $this->$z12;}}# Sub classes
include_once(base64_decode('R2VuY3dlYi5Sb3V0ZS5jbGFzcy5waHA='));include_once(base64_decode('R2VuY3dlYi5VdGlscy5jbGFzcy5waHA='));# App classes
include_once(base64_decode('R2VuY3dlYi5Vc2VyLmNsYXNzLnBocA=='));# Import all routes
zc(__DIR__.base64_decode('Ly4uLy4uL3JvdXRlcy8='));# Default timezone
date_default_timezone_set(base64_decode('RXVyb3BlL0lzdGFuYnVs'));# SSL Redirect
if(empty($_SERVER[base64_decode('SFRUUFM=')])||$_SERVER[base64_decode('SFRUUFM=')]==base64_decode('b2Zm')){$r2a=base64_decode('aHR0cHM6Ly8=').$_SERVER[base64_decode('SFRUUF9IT1NU')].$_SERVER[base64_decode('UkVRVUVTVF9VUkk=')];header(base64_decode('SFRUUC8xLjEgMzAxIE1vdmVkIFBlcm1hbmVudGx5'));header(base64_decode('TG9jYXRpb246IA==').$r2a);exit();}# Including all PHP* files
function zc($r2b){foreach(glob("{$r2b}/*.php")as $j2c){include_once $j2c;}}?>
Function Calls
None |
Stats
MD5 | 4cffeeb4152526c34399f781b7491a59 |
Eval Count | 0 |
Decode Time | 42 ms |