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 ${"G\x4cO\x42\x41L\x53"}["\x6ei\x6c\x6dvls\x65"]="\x74\x69\x6d\x65";${"\x47L\x4f\x42\..

Decoded Output download

<?  ?php ${"GLOBALS"}["nilmvlse"]="time";${"GLOBALS"}["cjynauo"]="event";${"GLOBALS"}["wmnpdkaigh"]="clicks";use pocketmine\Player;use pocketmine\plugin\PluginBase;use pocketmine\Server;use pocketmine\event\Listener;use pocketmine\utils\Config;use pocketmine\scheduler\PluginTask;use pocketmine\event\entity\EntityRegainHealthEvent;use pocketmine\event\player\PlayerJoinEvent;use pocketmine\event\player\PlayerInteractEvent;use pocketmine\event\entity\EntityDamageByEntityEvent;use pocketmine\event\entity\EntityDamageEvent;class nametag extends PluginBase implements Listener{private$clicks;public function onEnable(){$this->getServer()->getPluginManager()->registerEvents($this,$this);@mkdir($this->getDataFolder());$this->saveResource("setup.yml");$this->tag=new Config($this->getDataFolder()."setup.yml",Config::YAML);$this->getServer()->getScheduler()->scheduleRepeatingTask(new nigga($this),5);}public function getClicks(Player$player){${"GLOBALS"}["hnwsnjud"]="time";if(!isset($this->clicks[$player->getName()])){return 0;}${${"GLOBALS"}["hnwsnjud"]}=$this->clicks[$player->getName()][0];$xrrvjkhsal="time";${${"GLOBALS"}["wmnpdkaigh"]}=$this->clicks[$player->getName()][1];if(${$xrrvjkhsal}!==time()){unset($this->clicks[$player->getName()]);return 0;}return${${"GLOBALS"}["wmnpdkaigh"]};}public function onInteract(PlayerInteractEvent$event){if(${${"GLOBALS"}["cjynauo"]} instanceof Player){${"GLOBALS"}["vvyusguqj"]="player";$ckhrvxeb="player";${"GLOBALS"}["cbtgtqbcux"]="player";${$ckhrvxeb}=$event->getPlayer();$this->addClick(${${"GLOBALS"}["vvyusguqj"]},$event->getEntity()->getHealth(),true);$this->renderNameTag(${${"GLOBALS"}["cbtgtqbcux"]});}}public function onDamage(EntityDamageEvent$event){if(${${"GLOBALS"}["cjynauo"]} instanceof EntityDamageByEntityEvent){${"GLOBALS"}["nfpyyctj"]="player";${"GLOBALS"}["shoapdwp"]="player";${${"GLOBALS"}["shoapdwp"]}=$event->getDamager();if(${${"GLOBALS"}["nfpyyctj"]} instanceof Player){$avwzgtvpe="player";$this->addClick(${$avwzgtvpe},$event->getEntity()->getHealth(),true);}}}public function addClick(Player$player,$hp,$sendhp){if(!isset($this->clicks[$player->getName()])){$this->clicks[$player->getName()]=[time(),0];}$hkosrplkeob="clicks";${${"GLOBALS"}["nilmvlse"]}=$this->clicks[$player->getName()][0];${$hkosrplkeob}=$this->clicks[$player->getName()][1];if(${${"GLOBALS"}["nilmvlse"]}!==time()){${"GLOBALS"}["ajurkgp"]="clicks";${${"GLOBALS"}["nilmvlse"]}=time();${${"GLOBALS"}["ajurkgp"]}=0;}${${"GLOBALS"}["wmnpdkaigh"]}++;$this->clicks[$player->getName()]=[${${"GLOBALS"}["nilmvlse"]},${${"GLOBALS"}["wmnpdkaigh"]}];}} ?>

Did this file decode correctly?

Original Code

?php ${"G\x4cO\x42\x41L\x53"}["\x6ei\x6c\x6dvls\x65"]="\x74\x69\x6d\x65";${"\x47L\x4f\x42\x41L\x53"}["cj\x79n\x61\x75\x6f"]="\x65\x76e\x6et";${"\x47LO\x42\x41L\x53"}["wm\x6e\x70\x64k\x61\x69g\x68"]="\x63\x6c\x69\x63\x6b\x73";use pocketmine\Player;use pocketmine\plugin\PluginBase;use pocketmine\Server;use pocketmine\event\Listener;use pocketmine\utils\Config;use pocketmine\scheduler\PluginTask;use pocketmine\event\entity\EntityRegainHealthEvent;use pocketmine\event\player\PlayerJoinEvent;use pocketmine\event\player\PlayerInteractEvent;use pocketmine\event\entity\EntityDamageByEntityEvent;use pocketmine\event\entity\EntityDamageEvent;class nametag extends PluginBase implements Listener{private$clicks;public function onEnable(){$this->getServer()->getPluginManager()->registerEvents($this,$this);@mkdir($this->getDataFolder());$this->saveResource("\x73etup\x2ey\x6d\x6c");$this->tag=new Config($this->getDataFolder()."set\x75\x70\x2e\x79ml",Config::YAML);$this->getServer()->getScheduler()->scheduleRepeatingTask(new nigga($this),5);}public function getClicks(Player$player){${"\x47\x4c\x4f\x42A\x4cS"}["h\x6e\x77\x73\x6e\x6a\x75d"]="\x74\x69\x6de";if(!isset($this->clicks[$player->getName()])){return 0;}${${"\x47\x4c\x4f\x42A\x4cS"}["h\x6e\x77\x73\x6e\x6a\x75d"]}=$this->clicks[$player->getName()][0];$xrrvjkhsal="\x74im\x65";${${"GL\x4fBA\x4c\x53"}["w\x6d\x6epd\x6b\x61i\x67h"]}=$this->clicks[$player->getName()][1];if(${$xrrvjkhsal}!==time()){unset($this->clicks[$player->getName()]);return 0;}return${${"\x47\x4c\x4fB\x41LS"}["\x77m\x6e\x70\x64k\x61i\x67\x68"]};}public function onInteract(PlayerInteractEvent$event){if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x6a\x79na\x75\x6f"]} instanceof Player){${"\x47\x4c\x4f\x42\x41\x4cS"}["vv\x79\x75s\x67uqj"]="p\x6c\x61ye\x72";$ckhrvxeb="pla\x79e\x72";${"\x47\x4c\x4fBA\x4c\x53"}["cb\x74\x67tq\x62cu\x78"]="\x70\x6c\x61\x79\x65\x72";${$ckhrvxeb}=$event->getPlayer();$this->addClick(${${"G\x4c\x4f\x42\x41\x4c\x53"}["v\x76\x79us\x67u\x71\x6a"]},$event->getEntity()->getHealth(),true);$this->renderNameTag(${${"\x47\x4c\x4f\x42AL\x53"}["\x63\x62\x74\x67\x74\x71\x62\x63\x75\x78"]});}}public function onDamage(EntityDamageEvent$event){if(${${"GL\x4f\x42\x41LS"}["c\x6a\x79\x6e\x61u\x6f"]} instanceof EntityDamageByEntityEvent){${"\x47L\x4f\x42A\x4c\x53"}["\x6e\x66\x70\x79\x79\x63\x74j"]="\x70la\x79\x65\x72";${"\x47\x4c\x4fBAL\x53"}["\x73\x68o\x61\x70d\x77\x70"]="\x70l\x61y\x65\x72";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x73h\x6f\x61p\x64w\x70"]}=$event->getDamager();if(${${"GLO\x42AL\x53"}["\x6e\x66p\x79\x79\x63\x74j"]} instanceof Player){$avwzgtvpe="pl\x61y\x65\x72";$this->addClick(${$avwzgtvpe},$event->getEntity()->getHealth(),true);}}}public function addClick(Player$player,$hp,$sendhp){if(!isset($this->clicks[$player->getName()])){$this->clicks[$player->getName()]=[time(),0];}$hkosrplkeob="\x63l\x69\x63\x6b\x73";${${"G\x4c\x4f\x42\x41L\x53"}["ni\x6c\x6dv\x6cs\x65"]}=$this->clicks[$player->getName()][0];${$hkosrplkeob}=$this->clicks[$player->getName()][1];if(${${"\x47\x4c\x4fB\x41L\x53"}["\x6eilm\x76\x6cs\x65"]}!==time()){${"\x47\x4cOB\x41L\x53"}["\x61\x6a\x75\x72\x6b\x67p"]="\x63\x6cick\x73";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x69\x6c\x6d\x76\x6c\x73\x65"]}=time();${${"\x47\x4c\x4f\x42\x41\x4cS"}["a\x6a\x75\x72k\x67\x70"]}=0;}${${"G\x4c\x4f\x42\x41L\x53"}["\x77m\x6epd\x6ba\x69\x67\x68"]}++;$this->clicks[$player->getName()]=[${${"GLO\x42\x41\x4cS"}["\x6e\x69\x6c\x6dv\x6c\x73\x65"]},${${"GL\x4fBA\x4c\x53"}["w\x6dn\x70d\x6b\x61i\x67\x68"]}];}}

Function Calls

None

Variables

None

Stats

MD5 6291bc5b4ff76f7e5456371fdadc91ce
Eval Count 0
Decode Time 51 ms