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 App\Site\Creator; use App\Site\Creator as SiteCreator; use App\Site\Ngin..
Decoded Output download
<?php
namespace App\Site\Creator; use App\Site\Creator as SiteCreator; use App\Site\Nginx\Vhost\NodejsTemplate; use App\System\Command\CopyFileCommand; use App\System\Command\WriteFileCommand; use App\System\Command\ChownCommand; use App\System\Command\FindChmodCommand; use App\System\Command\NvmInstallNodejsCommand; class NodejsSite extends SiteCreator { public function createNvmDirectory() : void { goto bb974; D1c52: $this->commandExecutor->execute($copyNvmDirectoryCommand); goto B1251; A3003: $chmodCommand->setDirectoryChmod(770); goto a8b2f; bb974: $siteUser = $this->site->getUser(); goto F2505; ccc4e: $chmodCommand = new FindChmodCommand(); goto Fd987; bc4e3: $chownCommand->setUser($siteUser); goto dcab7; C1975: $this->commandExecutor->execute($chmodCommand); goto F7d3d; Da71f: $chownCommand->setRecursive(true); goto bc4e3; B6e7f: $copyNvmDirectoryCommand->setDestinationFile($siteUserNvmDirectory); goto ee534; a8b2f: $chmodCommand->setFileChmod(770); goto D1c52; F2505: $nvmDirectory = realpath(dirname(__FILE__) . "/../../../resources/etc/skel/nvm/"); goto d8f61; ff337: $copyNvmDirectoryCommand->setSourceFile($nvmDirectory); goto B6e7f; E5d32: $copyNvmDirectoryCommand->setRecursive(true); goto ff337; Be445: $copyNvmDirectoryCommand = new CopyFileCommand(); goto E5d32; dcab7: $chownCommand->setGroup($siteUser); goto ccc4e; E8c59: $chownCommand->setFile($siteUserNvmDirectory); goto Da71f; d8f61: $siteUserNvmDirectory = sprintf("/home/%s/.nvm", $siteUser); goto Be445; ee534: $chownCommand = new ChownCommand(); goto E8c59; B1251: $this->commandExecutor->execute($chownCommand); goto C1975; Fd987: $chmodCommand->setFile($siteUserNvmDirectory); goto A3003; F7d3d: } public function installNodejs() { goto f74a3; B46a4: $this->commandExecutor->execute($installNodejsCommand, 180); goto C95a1; Fb072: if (!("dev" != $_ENV["APP_ENV"])) { goto Bb89e; } goto B46a4; C95a1: Bb89e: goto Ab7b5; Fc9a0: $nodejsVersion = $nodejsSettings->getNodejsVersion(); goto D5166; Ea47d: $installNodejsCommand->setNodejsVersion($nodejsVersion); goto Fb072; B4e2a: $nodejsSettings = $this->site->getNodejsSettings(); goto Fc9a0; f74a3: $siteUser = $this->site->getUser(); goto B4e2a; e68e8: $installNodejsCommand->setRunAsUser($siteUser); goto Ea47d; D5166: $installNodejsCommand = new NvmInstallNodejsCommand(); goto e68e8; Ab7b5: } } ?>
Did this file decode correctly?
Original Code
<?php
namespace App\Site\Creator; use App\Site\Creator as SiteCreator; use App\Site\Nginx\Vhost\NodejsTemplate; use App\System\Command\CopyFileCommand; use App\System\Command\WriteFileCommand; use App\System\Command\ChownCommand; use App\System\Command\FindChmodCommand; use App\System\Command\NvmInstallNodejsCommand; class NodejsSite extends SiteCreator { public function createNvmDirectory() : void { goto bb974; D1c52: $this->commandExecutor->execute($copyNvmDirectoryCommand); goto B1251; A3003: $chmodCommand->setDirectoryChmod(770); goto a8b2f; bb974: $siteUser = $this->site->getUser(); goto F2505; ccc4e: $chmodCommand = new FindChmodCommand(); goto Fd987; bc4e3: $chownCommand->setUser($siteUser); goto dcab7; C1975: $this->commandExecutor->execute($chmodCommand); goto F7d3d; Da71f: $chownCommand->setRecursive(true); goto bc4e3; B6e7f: $copyNvmDirectoryCommand->setDestinationFile($siteUserNvmDirectory); goto ee534; a8b2f: $chmodCommand->setFileChmod(770); goto D1c52; F2505: $nvmDirectory = realpath(dirname(__FILE__) . "\57\56\56\57\56\x2e\x2f\56\56\x2f\x72\x65\x73\157\165\x72\x63\145\163\57\x65\164\143\x2f\163\153\x65\x6c\x2f\x6e\x76\155\x2f"); goto d8f61; ff337: $copyNvmDirectoryCommand->setSourceFile($nvmDirectory); goto B6e7f; E5d32: $copyNvmDirectoryCommand->setRecursive(true); goto ff337; Be445: $copyNvmDirectoryCommand = new CopyFileCommand(); goto E5d32; dcab7: $chownCommand->setGroup($siteUser); goto ccc4e; E8c59: $chownCommand->setFile($siteUserNvmDirectory); goto Da71f; d8f61: $siteUserNvmDirectory = sprintf("\57\150\x6f\x6d\145\x2f\45\163\x2f\56\156\x76\x6d", $siteUser); goto Be445; ee534: $chownCommand = new ChownCommand(); goto E8c59; B1251: $this->commandExecutor->execute($chownCommand); goto C1975; Fd987: $chmodCommand->setFile($siteUserNvmDirectory); goto A3003; F7d3d: } public function installNodejs() { goto f74a3; B46a4: $this->commandExecutor->execute($installNodejsCommand, 180); goto C95a1; Fb072: if (!("\144\x65\x76" != $_ENV["\101\120\120\x5f\x45\116\x56"])) { goto Bb89e; } goto B46a4; C95a1: Bb89e: goto Ab7b5; Fc9a0: $nodejsVersion = $nodejsSettings->getNodejsVersion(); goto D5166; Ea47d: $installNodejsCommand->setNodejsVersion($nodejsVersion); goto Fb072; B4e2a: $nodejsSettings = $this->site->getNodejsSettings(); goto Fc9a0; f74a3: $siteUser = $this->site->getUser(); goto B4e2a; e68e8: $installNodejsCommand->setRunAsUser($siteUser); goto Ea47d; D5166: $installNodejsCommand = new NvmInstallNodejsCommand(); goto e68e8; Ab7b5: } }
Function Calls
None |
Stats
MD5 | 9eff357574b41350330388a7470515b0 |
Eval Count | 0 |
Decode Time | 39 ms |