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 /* __________________________________________________ | Obfuscated by YAK Pro..

Decoded Output download

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2024-04-04 07:55:03              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 declare (strict_types=1); namespace RBLuZ\eK3Xl; use function count; use function extension_loaded; use function function_exists; use function imagearc; use function imagecolorallocate; use function imagecopyresampled; use function imagecreatefromstring; use function imagecreatetruecolor; use function imagedestroy; use function imagefilledpolygon; use function imagefilledrectangle; use function imagejpeg; use function imageline; use function imagepng; use function imagestring; use function imagesx; use function imagesy; use const dRT4D; final class QVa9_ { private $eWv2c; private function __construct($I8GPT) { $this->eWv2c = $I8GPT; } public function yU0Uk() { return $this->eWv2c; } public static function create(int $YsgIP, int $GhOft, ?array $gS29c = null) : ?self { goto StveS; StveS: if (extension_loaded("gd")) { goto VbBwO; } goto LCvvT; nBXZU: imagedestroy($I8GPT); goto NXicC; cs6Jz: return new self($I8GPT); goto O4_0b; Zm2Zs: $I8GPT = imagecreatetruecolor($YsgIP, $GhOft); goto MKBOK; pzeXx: VbBwO: goto Zm2Zs; Olz3z: PTqb6: goto mkii8; mkii8: if (imagefilledrectangle($I8GPT, 0, 0, $YsgIP - 1, $GhOft - 1, $NJ5OW)) { goto NntIK; } goto zQWwF; TsRkD: return new self($I8GPT); goto IDtOt; PO_MF: $NJ5OW = imagecolorallocate($I8GPT, $gS29c["red"], $gS29c["green"], $gS29c["blue"]); goto LqdpD; lrXqV: if (isset($gS29c, $gS29c["red"], $gS29c["green"], $gS29c["blue"])) { goto pVu4o; } goto cs6Jz; Ml4F9: FELiz: goto lrXqV; O4_0b: pVu4o: goto PO_MF; LqdpD: if (!($NJ5OW === false)) { goto PTqb6; } goto nBXZU; iIDB7: return null; goto FcVH9; MKBOK: if (!($I8GPT === false)) { goto FELiz; } goto JLhZQ; NXicC: return null; goto Olz3z; FcVH9: NntIK: goto TsRkD; zQWwF: imagedestroy($I8GPT); goto iIDB7; LCvvT: return null; goto pzeXx; JLhZQ: return null; goto Ml4F9; IDtOt: } public static function uNjwI(string $Wgvx3) : ?self { goto M6TYU; td0Ai: uexgb: goto WIPnS; WIPnS: $I8GPT = imagecreatefromstring($Wgvx3); goto XMWVI; AY9Rj: return null; goto PfjFf; M6TYU: if (extension_loaded("gd")) { goto uexgb; } goto phmSI; PfjFf: LhegK: goto pFVgH; phmSI: return null; goto td0Ai; pFVgH: return new self($I8GPT); goto SbfGZ; XMWVI: if (!($I8GPT === false)) { goto LhegK; } goto AY9Rj; SbfGZ: } public function BLlzI(int $VkPhy, int $btWRH, int $YsgIP, int $GhOft, int $bmRxR, int $gz0Z_, int $JTXga) : bool { return imagearc($this->eWv2c, $VkPhy, $btWRH, $YsgIP, $GhOft, $bmRxR, $gz0Z_, $JTXga); } public function w3nnb(int $jnO2H, int $tVYCN, int $BEld_) { return imagecolorallocate($this->eWv2c, $jnO2H, $tVYCN, $BEld_); } public function hhyJe(Qva9_ $tI6TD, int $dqf_2, int $PccAv, int $fuH9Q, int $fAyhi, int $vulBo, int $CIprV, int $P0GZT, int $LD0YC) : bool { return imagecopyresampled($this->eWv2c, $tI6TD->YU0UK(), $dqf_2, $PccAv, $fuH9Q, $fAyhi, $vulBo, $CIprV, $P0GZT, $LD0YC); } public function destroy() : bool { goto yWjYk; VTvD1: return true; goto ENjUL; ENjUL: e7qC5: goto jmFFx; jmFFx: return imagedestroy($this->eWv2c); goto G5MzE; yWjYk: if (!(PHP_VERSION_ID >= 80000)) { goto e7qC5; } goto VTvD1; G5MzE: } public function xiV1g(array $m9sup, int $JTXga) : bool { goto gOytf; gOytf: if (!(PHP_VERSION_ID < 80000)) { goto xdPdR; } goto A2XDF; cEB_k: return imagefilledpolygon($this->eWv2c, $m9sup, $JTXga); goto wejrE; CSKEK: xdPdR: goto cEB_k; A2XDF: return imagefilledpolygon($this->eWv2c, $m9sup, (int) (count($m9sup) / 2), $JTXga); goto CSKEK; wejrE: } public function vPLGN() : int { return imagesy($this->eWv2c); } public function pfigs($ngeVj = null, int $lPgiD = -1) : bool { if (!function_exists("imagejpeg")) { return false; } return imagejpeg($this->eWv2c, $ngeVj, $lPgiD); } public function nEUwQ(int $jTe1I, int $Dv5tR, int $uR4LC, int $uPk4i, int $JTXga) : bool { return imageline($this->eWv2c, $jTe1I, $Dv5tR, $uR4LC, $uPk4i, $JTXga); } public function P6Aso($ngeVj = null, int $lPgiD = -1, int $jUVRi = -1) : bool { if (!function_exists("imagepng")) { return false; } return imagepng($this->eWv2c, $ngeVj, $lPgiD, $jUVRi); } public function string(int $cV5HN, int $JC9tK, int $TGnTQ, string $z8HsE, int $JTXga) : bool { return imagestring($this->eWv2c, $cV5HN, $JC9tK, $TGnTQ, $z8HsE, $JTXga); } public function tvaea() : int { return imagesx($this->eWv2c); } } ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2024-04-04 07:55:03              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 declare (strict_types=1); namespace RBLuZ\eK3Xl; use function count; use function extension_loaded; use function function_exists; use function imagearc; use function imagecolorallocate; use function imagecopyresampled; use function imagecreatefromstring; use function imagecreatetruecolor; use function imagedestroy; use function imagefilledpolygon; use function imagefilledrectangle; use function imagejpeg; use function imageline; use function imagepng; use function imagestring; use function imagesx; use function imagesy; use const dRT4D; final class QVa9_ { private $eWv2c; private function __construct($I8GPT) { $this->eWv2c = $I8GPT; } public function yU0Uk() { return $this->eWv2c; } public static function create(int $YsgIP, int $GhOft, ?array $gS29c = null) : ?self { goto StveS; StveS: if (extension_loaded("\x67\144")) { goto VbBwO; } goto LCvvT; nBXZU: imagedestroy($I8GPT); goto NXicC; cs6Jz: return new self($I8GPT); goto O4_0b; Zm2Zs: $I8GPT = imagecreatetruecolor($YsgIP, $GhOft); goto MKBOK; pzeXx: VbBwO: goto Zm2Zs; Olz3z: PTqb6: goto mkii8; mkii8: if (imagefilledrectangle($I8GPT, 0, 0, $YsgIP - 1, $GhOft - 1, $NJ5OW)) { goto NntIK; } goto zQWwF; TsRkD: return new self($I8GPT); goto IDtOt; PO_MF: $NJ5OW = imagecolorallocate($I8GPT, $gS29c["\x72\x65\x64"], $gS29c["\147\162\145\x65\156"], $gS29c["\142\154\165\145"]); goto LqdpD; lrXqV: if (isset($gS29c, $gS29c["\x72\x65\x64"], $gS29c["\x67\162\145\145\156"], $gS29c["\x62\154\x75\x65"])) { goto pVu4o; } goto cs6Jz; Ml4F9: FELiz: goto lrXqV; O4_0b: pVu4o: goto PO_MF; LqdpD: if (!($NJ5OW === false)) { goto PTqb6; } goto nBXZU; iIDB7: return null; goto FcVH9; MKBOK: if (!($I8GPT === false)) { goto FELiz; } goto JLhZQ; NXicC: return null; goto Olz3z; FcVH9: NntIK: goto TsRkD; zQWwF: imagedestroy($I8GPT); goto iIDB7; LCvvT: return null; goto pzeXx; JLhZQ: return null; goto Ml4F9; IDtOt: } public static function uNjwI(string $Wgvx3) : ?self { goto M6TYU; td0Ai: uexgb: goto WIPnS; WIPnS: $I8GPT = imagecreatefromstring($Wgvx3); goto XMWVI; AY9Rj: return null; goto PfjFf; M6TYU: if (extension_loaded("\x67\x64")) { goto uexgb; } goto phmSI; PfjFf: LhegK: goto pFVgH; phmSI: return null; goto td0Ai; pFVgH: return new self($I8GPT); goto SbfGZ; XMWVI: if (!($I8GPT === false)) { goto LhegK; } goto AY9Rj; SbfGZ: } public function BLlzI(int $VkPhy, int $btWRH, int $YsgIP, int $GhOft, int $bmRxR, int $gz0Z_, int $JTXga) : bool { return imagearc($this->eWv2c, $VkPhy, $btWRH, $YsgIP, $GhOft, $bmRxR, $gz0Z_, $JTXga); } public function w3nnb(int $jnO2H, int $tVYCN, int $BEld_) { return imagecolorallocate($this->eWv2c, $jnO2H, $tVYCN, $BEld_); } public function hhyJe(Qva9_ $tI6TD, int $dqf_2, int $PccAv, int $fuH9Q, int $fAyhi, int $vulBo, int $CIprV, int $P0GZT, int $LD0YC) : bool { return imagecopyresampled($this->eWv2c, $tI6TD->YU0UK(), $dqf_2, $PccAv, $fuH9Q, $fAyhi, $vulBo, $CIprV, $P0GZT, $LD0YC); } public function destroy() : bool { goto yWjYk; VTvD1: return true; goto ENjUL; ENjUL: e7qC5: goto jmFFx; jmFFx: return imagedestroy($this->eWv2c); goto G5MzE; yWjYk: if (!(PHP_VERSION_ID >= 80000)) { goto e7qC5; } goto VTvD1; G5MzE: } public function xiV1g(array $m9sup, int $JTXga) : bool { goto gOytf; gOytf: if (!(PHP_VERSION_ID < 80000)) { goto xdPdR; } goto A2XDF; cEB_k: return imagefilledpolygon($this->eWv2c, $m9sup, $JTXga); goto wejrE; CSKEK: xdPdR: goto cEB_k; A2XDF: return imagefilledpolygon($this->eWv2c, $m9sup, (int) (count($m9sup) / 2), $JTXga); goto CSKEK; wejrE: } public function vPLGN() : int { return imagesy($this->eWv2c); } public function pfigs($ngeVj = null, int $lPgiD = -1) : bool { if (!function_exists("\151\155\x61\147\145\152\160\145\147")) { return false; } return imagejpeg($this->eWv2c, $ngeVj, $lPgiD); } public function nEUwQ(int $jTe1I, int $Dv5tR, int $uR4LC, int $uPk4i, int $JTXga) : bool { return imageline($this->eWv2c, $jTe1I, $Dv5tR, $uR4LC, $uPk4i, $JTXga); } public function P6Aso($ngeVj = null, int $lPgiD = -1, int $jUVRi = -1) : bool { if (!function_exists("\x69\155\x61\147\x65\160\x6e\147")) { return false; } return imagepng($this->eWv2c, $ngeVj, $lPgiD, $jUVRi); } public function string(int $cV5HN, int $JC9tK, int $TGnTQ, string $z8HsE, int $JTXga) : bool { return imagestring($this->eWv2c, $cV5HN, $JC9tK, $TGnTQ, $z8HsE, $JTXga); } public function tvaea() : int { return imagesx($this->eWv2c); } }

Function Calls

None

Variables

None

Stats

MD5 6572bb21276b7cbdff62ef996b7981f6
Eval Count 0
Decode Time 59 ms