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\System\Command; use App\System\Command; class ReadLinkCommand extend..
Decoded Output download
<?php
namespace App\System\Command; use App\System\Command; class ReadLinkCommand extends Command { private ?string $file = null; public function getCommand() : string { goto Dc6b2; F9b19: return $this->command; goto ac4f7; c7a19: $this->command = sprintf("/usr/bin/sudo /usr/bin/readlink -f %s", $file); goto F8a92; a1fdd: $file = $this->getFile(); goto c7a19; F8a92: D7c1c: goto F9b19; Dc6b2: if ($this->command) { goto D7c1c; } goto a1fdd; ac4f7: } public function isSuccessful() : bool { return true; } public function setFile(string $file) : void { $this->file = $file; } public function getFile() : ?string { return $this->file; } }
?>
Did this file decode correctly?
Original Code
<?php
namespace App\System\Command; use App\System\Command; class ReadLinkCommand extends Command { private ?string $file = null; public function getCommand() : string { goto Dc6b2; F9b19: return $this->command; goto ac4f7; c7a19: $this->command = sprintf("\57\x75\163\162\57\142\x69\156\x2f\x73\x75\x64\157\40\57\165\163\162\x2f\x62\151\156\x2f\162\x65\x61\x64\154\x69\x6e\153\x20\x2d\146\x20\45\163", $file); goto F8a92; a1fdd: $file = $this->getFile(); goto c7a19; F8a92: D7c1c: goto F9b19; Dc6b2: if ($this->command) { goto D7c1c; } goto a1fdd; ac4f7: } public function isSuccessful() : bool { return true; } public function setFile(string $file) : void { $this->file = $file; } public function getFile() : ?string { return $this->file; } }
Function Calls
None |
Stats
MD5 | a21aaf5e13d6d1c2fba5b77f736b9bbf |
Eval Count | 0 |
Decode Time | 40 ms |