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 namespace Framework\Controllers;class BotController extends \Core\Controller{public ..

Decoded Output download

<?php namespace Framework\Controllers;class BotController extends \Core\Controller{public $u0=base64_decode('V2ViaG9vaw==');public function actionWebhook():string{if(($f1=getallheaders())===false||!isset($f1[base64_decode('WC1UZWxlZ3JhbS1Cb3QtQXBpLVNlY3JldC1Ub2tlbg==')])||$f1[base64_decode('WC1UZWxlZ3JhbS1Cb3QtQXBpLVNlY3JldC1Ub2tlbg==')]!==\Core\Application::$e2[base64_decode('Ym90')][base64_decode('c2VjcmV0VG9rZW4=')]){\Core\Application::error(403);}try{$t3=\Core\Application::$e2[base64_decode('Ym90')][base64_decode('YXBpVG9rZW4=')];$k4=new \Libraries\TelegramBot\Client($t3);$k4->command(base64_decode('Y2hhdF9pbmZv'),function($i5)use($k4){$d6=$i5->getChat()->getId();$b7=($i5->getIsTopicMessage())?$i5->getMessageThreadId():base64_decode('TlVMTA==');$k4->sendMessage($d6,"Chat ID: {$d6}, Thread ID: {$b7}",base64_decode('SFRNTA=='),true,null,null);});$k4->on(function(\Libraries\TelegramBot\Types\Update $e8)use($k4){$z9=new \Helpers\Bot($k4,$e8->getMessage());$z9->proceed();},function(){return true;});$k4->run();}catch(\Libraries\TelegramBot\Exception $ja){error_log(base64_decode('VGVsZWdyYW0gQVBJIEVycm9yOiA=').$ja->getMessage());}return base64_decode('MjAw');}}?>

Did this file decode correctly?

Original Code

<?php namespace Framework\Controllers;class BotController extends \Core\Controller{public $u0=base64_decode('V2ViaG9vaw==');public function actionWebhook():string{if(($f1=getallheaders())===false||!isset($f1[base64_decode('WC1UZWxlZ3JhbS1Cb3QtQXBpLVNlY3JldC1Ub2tlbg==')])||$f1[base64_decode('WC1UZWxlZ3JhbS1Cb3QtQXBpLVNlY3JldC1Ub2tlbg==')]!==\Core\Application::$e2[base64_decode('Ym90')][base64_decode('c2VjcmV0VG9rZW4=')]){\Core\Application::error(403);}try{$t3=\Core\Application::$e2[base64_decode('Ym90')][base64_decode('YXBpVG9rZW4=')];$k4=new \Libraries\TelegramBot\Client($t3);$k4->command(base64_decode('Y2hhdF9pbmZv'),function($i5)use($k4){$d6=$i5->getChat()->getId();$b7=($i5->getIsTopicMessage())?$i5->getMessageThreadId():base64_decode('TlVMTA==');$k4->sendMessage($d6,"Chat ID: {$d6}, Thread ID: {$b7}",base64_decode('SFRNTA=='),true,null,null);});$k4->on(function(\Libraries\TelegramBot\Types\Update $e8)use($k4){$z9=new \Helpers\Bot($k4,$e8->getMessage());$z9->proceed();},function(){return true;});$k4->run();}catch(\Libraries\TelegramBot\Exception $ja){error_log(base64_decode('VGVsZWdyYW0gQVBJIEVycm9yOiA=').$ja->getMessage());}return base64_decode('MjAw');}}?>

Function Calls

None

Variables

None

Stats

MD5 abb0e0611d7f95deaaf83896e72145c4
Eval Count 0
Decode Time 54 ms