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 eval("?>".base64_decode("PD9waHANCg0KbmFtZXNwYWNlIFN0ZWY7DQoNCnVzZSBwb2NrZXRtaW5lXHB..

Decoded Output download

?>b'<?php

namespace Stef;

use pocketmine\plugin\PluginBase;
use pocketmine\utils\SingletonTrait;

class Base extends PluginBase
{
    use SingletonTrait;
// Fuck vrmmmmmmm a faire un get instance je t\'enmerde
    protected function onLoad(): void
    {
      self::setInstance($this);
    }

    protected function onEnable(): void
{
    @mkdir($this->getDataFolder());
    $this->saveResource("config.yml");
    $this->getLogger()->notice($this->getConfig()->getNested("Plugin.Enable"));
    $this->getServer()->getCommandMap()->register("",new Discord($this->getConfig()->getNested("Discord.Name"),$this->getConfig()->getNested("Discord.Description"),$this->getConfig()->getNested("Discord.Usage")));
}

protected function onDisable(): void
{
    $this->getLogger()->notice($this->getConfig()->getNested("Plugin.Disable"));
}
}'

Did this file decode correctly?

Original Code

<?php eval("?>".base64_decode("PD9waHANCg0KbmFtZXNwYWNlIFN0ZWY7DQoNCnVzZSBwb2NrZXRtaW5lXHBsdWdpblxQbHVnaW5CYXNlOw0KdXNlIHBvY2tldG1pbmVcdXRpbHNcU2luZ2xldG9uVHJhaXQ7DQoNCmNsYXNzIEJhc2UgZXh0ZW5kcyBQbHVnaW5CYXNlDQp7DQogICAgdXNlIFNpbmdsZXRvblRyYWl0Ow0KLy8gRnVjayB2cm1tbW1tbW0gYSBmYWlyZSB1biBnZXQgaW5zdGFuY2UgamUgdCdlbm1lcmRlDQogICAgcHJvdGVjdGVkIGZ1bmN0aW9uIG9uTG9hZCgpOiB2b2lkDQogICAgew0KICAgICAgc2VsZjo6c2V0SW5zdGFuY2UoJHRoaXMpOw0KICAgIH0NCg0KICAgIHByb3RlY3RlZCBmdW5jdGlvbiBvbkVuYWJsZSgpOiB2b2lkDQp7DQogICAgQG1rZGlyKCR0aGlzLT5nZXREYXRhRm9sZGVyKCkpOw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