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 18:50:37              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 declare (strict_types=1); namespace gB470\t6Mo0; use GB470\Ms1Q6; use gB470\X1ZA2; use GB470\kzZF0; use MsJYn\Log\blOZc; use gB470\iaSPv; class lmp5u extends EmJ2D { private string $CvA0p; private array $NKWnF; private string $JS8oh; private string|int|null $lF9Sa = null; private int $TH465; private int $gcgEC; private Level $MHO1b; private Level $wA_Ar; private bool $d9Bua = false; private array $sZpiE = ["token" => true, "user" => true, "message" => true, "device" => true, "title" => true, "url" => true, "url_title" => true, "priority" => true, "timestamp" => true, "sound" => true, "retry" => true, "expire" => true, "callback" => true]; private array $iQHUy = ["pushover", "bike", "bugle", "cashregister", "classical", "cosmic", "falling", "gamelan", "incoming", "intermission", "magic", "mechanical", "pianobar", "siren", "spacealarm", "tugboat", "alien", "climb", "persistent", "echo", "updown", "none"]; public function __construct(string $D4bjJ, $QJSN_, ?string $ErUjN = null, int|string|Level $CyDz7 = ms1Q6::sc6H2, bool $rQzwd = true, bool $xWgDI = true, int|string|Level $c77Lg = Ms1q6::sc6H2, int|string|Level $q1LnQ = MS1q6::HOzFW, int $zrBoF = 30, int $Eeelr = 25200, bool $RfPA2 = false, float $XSZBt = 0.0, float $b9DNp = 10.0, ?float $afiUE = null, ?int $twCrd = null) { goto JStwB; YOeou: $this->JS8oh = $ErUjN ?? (string) gethostname(); goto NoSmf; lQpM9: parent::__construct($z112Y, $CyDz7, $rQzwd, $RfPA2, $XSZBt, $b9DNp, $afiUE, $twCrd); goto mFVtr; rFS1M: $this->TH465 = $zrBoF; goto kp4CZ; kp4CZ: $this->gcgEC = $Eeelr; goto EFp_o; JStwB: $z112Y = $xWgDI ? "ssl://api.pushover.net:443" : "api.pushover.net:80"; goto lQpM9; Mp6ZO: $this->wA_Ar = x1ZA2::hayah($q1LnQ); goto rFS1M; mFVtr: $this->CvA0p = $D4bjJ; goto hf_0_; NoSmf: $this->MHO1b = x1ZA2::HayAH($c77Lg); goto Mp6ZO; hf_0_: $this->NKWnF = (array) $QJSN_; goto YOeou; EFp_o: } protected function kJrp4(iASpV $ylDFA) : string { $yr3nt = $this->y67YS($ylDFA); return $this->MpbGQ($yr3nt) . $yr3nt; } private function Y67Ys(IasPv $ylDFA) : string { goto By7gE; ItcA_: fXcTa: goto oC0l2; Zw3hZ: uzwAB: goto I7Hxj; Mbj7K: goto X5cCV; goto viEfW; VyvUe: goto X5cCV; goto ItcA_; Zq1qt: $Jo88c["priority"] = 1; goto jCdWF; I7Hxj: return http_build_query($Jo88c); goto VJBql; By7gE: $JSGZm = 512 - strlen($this->JS8oh); goto XGpoO; UufhM: $xE1B5 = $ylDFA->n5Jr9->getTimestamp(); goto LE8so; sQA25: if ($ylDFA->level->nVR82 >= $this->MHO1b->nVR82) { goto SY1JL; } goto VyvUe; qU0cI: $TO_gb = array_intersect_key($ylDFA->NL9SX, $this->sZpiE); goto gh2Sy; FkvVW: unset($Jo88c["sound"]); goto Zw3hZ; jCdWF: X5cCV: goto qU0cI; NInf0: if (!(isset($Jo88c["sound"]) && !in_array($Jo88c["sound"], $this->iQHUy, true))) { goto uzwAB; } goto FkvVW; I51dL: $Jo88c = array_merge($PDTzT, $TO_gb, $Jo88c); goto NInf0; gh2Sy: $PDTzT = array_intersect_key($ylDFA->i7fHd, $this->sZpiE); goto I51dL; KMJ4V: $rOHXt = KzZF0::substr($rOHXt, 0, $JSGZm); goto UufhM; LE8so: $Jo88c = ["token" => $this->CvA0p, "user" => $this->lF9Sa, "message" => $rOHXt, "title" => $this->JS8oh, "timestamp" => $xE1B5]; goto T9Y7F; oC0l2: $Jo88c["priority"] = 2; goto y9By0; XGpoO: $rOHXt = $this->d9Bua ? $ylDFA->f7pH7 : $ylDFA->message; goto KMJ4V; viEfW: SY1JL: goto Zq1qt; T9Y7F: if ($ylDFA->level->nVR82 >= $this->wA_Ar->nVR82) { goto fXcTa; } goto sQA25; xfYZq: $Jo88c["expire"] = $this->gcgEC; goto Mbj7K; y9By0: $Jo88c["retry"] = $this->TH465; goto xfYZq; VJBql: } private function MPBGq(string $yr3nt) : string { goto Pe26u; Pe26u: $rh6eQ = "POST /1/messages.json HTTP/1.1
\xa"; goto n1LI_; n1LI_: $rh6eQ .= "Host: api.pushover.net\xd\xa"; goto l52N6; omk_q: $rh6eQ .= "Content-Length: " . strlen($yr3nt) . "\xd\xa"; goto ixlvS; ixlvS: $rh6eQ .= "
"; goto K3SSg; l52N6: $rh6eQ .= "Content-Type: application/x-www-form-urlencoded
\xa"; goto omk_q; K3SSg: return $rh6eQ; goto sXD1a; sXD1a: } protected function write(iASpv $ylDFA) : void { goto k0Ksy; h56Hk: lGlWn: goto UpcU5; UpcU5: $this->lF9Sa = null; goto gCUL3; k0Ksy: foreach ($this->NKWnF as $tLDku) { goto uQGLK; Au4kM: parent::write($ylDFA); goto LRwJK; uQGLK: $this->lF9Sa = $tLDku; goto Au4kM; LRwJK: $this->rQHG_(); goto pDk6Z; pDk6Z: FYFA5: goto rNXm7; rNXm7: } goto h56Hk; gCUL3: } public function GZh9R(int|string|Level $CyDz7) : self { $this->MHO1b = x1ZA2::haYaH($CyDz7); return $this; } public function olmyl(int|string|Level $CyDz7) : self { $this->wA_Ar = X1zA2::hAYAH($CyDz7); return $this; } public function PsjLz(bool $VkE1V) : self { $this->d9Bua = $VkE1V; return $this; } } ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2024-04-04 18:50:37              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 declare (strict_types=1); namespace gB470\t6Mo0; use GB470\Ms1Q6; use gB470\X1ZA2; use GB470\kzZF0; use MsJYn\Log\blOZc; use gB470\iaSPv; class lmp5u extends EmJ2D { private string $CvA0p; private array $NKWnF; private string $JS8oh; private string|int|null $lF9Sa = null; private int $TH465; private int $gcgEC; private Level $MHO1b; private Level $wA_Ar; private bool $d9Bua = false; private array $sZpiE = ["\164\x6f\x6b\145\156" => true, "\165\163\145\x72" => true, "\155\145\163\163\141\147\x65" => true, "\x64\x65\166\151\143\145" => true, "\164\151\x74\x6c\x65" => true, "\165\162\154" => true, "\165\162\x6c\x5f\164\x69\x74\x6c\x65" => true, "\x70\162\151\x6f\162\x69\164\x79" => true, "\x74\151\x6d\145\163\x74\141\155\x70" => true, "\163\157\165\156\x64" => true, "\162\145\164\162\171" => true, "\x65\x78\160\x69\162\145" => true, "\143\x61\154\154\142\x61\143\x6b" => true]; private array $iQHUy = ["\160\x75\163\150\157\x76\145\162", "\x62\x69\x6b\145", "\x62\x75\147\x6c\145", "\143\x61\163\150\x72\145\147\x69\163\x74\x65\162", "\143\x6c\141\163\x73\x69\143\141\154", "\143\x6f\163\x6d\151\x63", "\146\x61\154\154\151\156\x67", "\147\141\155\x65\x6c\x61\156", "\x69\x6e\143\x6f\155\151\156\147", "\151\156\164\145\x72\x6d\151\x73\x73\x69\x6f\156", "\x6d\x61\147\x69\x63", "\155\145\143\150\x61\156\x69\143\141\154", "\x70\151\141\x6e\x6f\x62\141\x72", "\163\x69\x72\x65\156", "\163\160\x61\143\145\141\154\x61\x72\155", "\164\165\147\142\157\141\164", "\x61\x6c\151\x65\x6e", "\x63\154\151\155\x62", "\160\145\162\x73\151\x73\164\x65\156\164", "\145\143\150\157", "\x75\x70\x64\157\167\156", "\156\157\x6e\x65"]; public function __construct(string $D4bjJ, $QJSN_, ?string $ErUjN = null, int|string|Level $CyDz7 = ms1Q6::sc6H2, bool $rQzwd = true, bool $xWgDI = true, int|string|Level $c77Lg = Ms1q6::sc6H2, int|string|Level $q1LnQ = MS1q6::HOzFW, int $zrBoF = 30, int $Eeelr = 25200, bool $RfPA2 = false, float $XSZBt = 0.0, float $b9DNp = 10.0, ?float $afiUE = null, ?int $twCrd = null) { goto JStwB; YOeou: $this->JS8oh = $ErUjN ?? (string) gethostname(); goto NoSmf; lQpM9: parent::__construct($z112Y, $CyDz7, $rQzwd, $RfPA2, $XSZBt, $b9DNp, $afiUE, $twCrd); goto mFVtr; rFS1M: $this->TH465 = $zrBoF; goto kp4CZ; kp4CZ: $this->gcgEC = $Eeelr; goto EFp_o; JStwB: $z112Y = $xWgDI ? "\x73\x73\154\x3a\x2f\x2f\x61\160\151\x2e\x70\165\163\150\157\x76\x65\162\56\x6e\145\x74\x3a\64\64\63" : "\x61\x70\151\56\160\x75\163\x68\157\x76\x65\162\x2e\156\x65\164\72\x38\x30"; goto lQpM9; Mp6ZO: $this->wA_Ar = x1ZA2::hayah($q1LnQ); goto rFS1M; mFVtr: $this->CvA0p = $D4bjJ; goto hf_0_; NoSmf: $this->MHO1b = x1ZA2::HayAH($c77Lg); goto Mp6ZO; hf_0_: $this->NKWnF = (array) $QJSN_; goto YOeou; EFp_o: } protected function kJrp4(iASpV $ylDFA) : string { $yr3nt = $this->y67YS($ylDFA); return $this->MpbGQ($yr3nt) . $yr3nt; } private function Y67Ys(IasPv $ylDFA) : string { goto By7gE; ItcA_: fXcTa: goto oC0l2; Zw3hZ: uzwAB: goto I7Hxj; Mbj7K: goto X5cCV; goto viEfW; VyvUe: goto X5cCV; goto ItcA_; Zq1qt: $Jo88c["\x70\x72\151\157\x72\x69\164\171"] = 1; goto jCdWF; I7Hxj: return http_build_query($Jo88c); goto VJBql; By7gE: $JSGZm = 512 - strlen($this->JS8oh); goto XGpoO; UufhM: $xE1B5 = $ylDFA->n5Jr9->getTimestamp(); goto LE8so; sQA25: if ($ylDFA->level->nVR82 >= $this->MHO1b->nVR82) { goto SY1JL; } goto VyvUe; qU0cI: $TO_gb = array_intersect_key($ylDFA->NL9SX, $this->sZpiE); goto gh2Sy; FkvVW: unset($Jo88c["\163\157\165\156\144"]); goto Zw3hZ; jCdWF: X5cCV: goto qU0cI; NInf0: if (!(isset($Jo88c["\x73\157\165\x6e\144"]) && !in_array($Jo88c["\163\157\x75\156\144"], $this->iQHUy, true))) { goto uzwAB; } goto FkvVW; I51dL: $Jo88c = array_merge($PDTzT, $TO_gb, $Jo88c); goto NInf0; gh2Sy: $PDTzT = array_intersect_key($ylDFA->i7fHd, $this->sZpiE); goto I51dL; KMJ4V: $rOHXt = KzZF0::substr($rOHXt, 0, $JSGZm); goto UufhM; LE8so: $Jo88c = ["\164\x6f\x6b\x65\x6e" => $this->CvA0p, "\165\163\x65\162" => $this->lF9Sa, "\x6d\145\x73\x73\141\x67\145" => $rOHXt, "\x74\151\x74\x6c\145" => $this->JS8oh, "\x74\x69\155\145\163\x74\x61\x6d\160" => $xE1B5]; goto T9Y7F; oC0l2: $Jo88c["\x70\162\151\x6f\162\151\x74\171"] = 2; goto y9By0; XGpoO: $rOHXt = $this->d9Bua ? $ylDFA->f7pH7 : $ylDFA->message; goto KMJ4V; viEfW: SY1JL: goto Zq1qt; T9Y7F: if ($ylDFA->level->nVR82 >= $this->wA_Ar->nVR82) { goto fXcTa; } goto sQA25; xfYZq: $Jo88c["\x65\x78\x70\151\162\x65"] = $this->gcgEC; goto Mbj7K; y9By0: $Jo88c["\x72\x65\x74\162\x79"] = $this->TH465; goto xfYZq; VJBql: } private function MPBGq(string $yr3nt) : string { goto Pe26u; Pe26u: $rh6eQ = "\120\117\123\124\40\57\x31\x2f\x6d\x65\163\163\141\147\x65\x73\x2e\152\163\x6f\x6e\x20\x48\x54\x54\x50\57\61\56\61\15\xa"; goto n1LI_; n1LI_: $rh6eQ .= "\x48\x6f\x73\x74\x3a\40\x61\160\x69\56\x70\165\163\150\157\x76\x65\x72\x2e\156\x65\x74\xd\xa"; goto l52N6; omk_q: $rh6eQ .= "\x43\x6f\x6e\x74\x65\x6e\164\x2d\x4c\145\156\147\164\150\72\x20" . strlen($yr3nt) . "\xd\xa"; goto ixlvS; ixlvS: $rh6eQ .= "\15\12"; goto K3SSg; l52N6: $rh6eQ .= "\x43\x6f\156\x74\x65\156\x74\x2d\124\x79\x70\145\x3a\40\x61\160\x70\x6c\x69\x63\141\164\151\157\x6e\x2f\170\55\x77\x77\167\55\146\x6f\x72\155\55\165\x72\154\x65\x6e\x63\x6f\144\145\144\15\xa"; goto omk_q; K3SSg: return $rh6eQ; goto sXD1a; sXD1a: } protected function write(iASpv $ylDFA) : void { goto k0Ksy; h56Hk: lGlWn: goto UpcU5; UpcU5: $this->lF9Sa = null; goto gCUL3; k0Ksy: foreach ($this->NKWnF as $tLDku) { goto uQGLK; Au4kM: parent::write($ylDFA); goto LRwJK; uQGLK: $this->lF9Sa = $tLDku; goto Au4kM; LRwJK: $this->rQHG_(); goto pDk6Z; pDk6Z: FYFA5: goto rNXm7; rNXm7: } goto h56Hk; gCUL3: } public function GZh9R(int|string|Level $CyDz7) : self { $this->MHO1b = x1ZA2::haYaH($CyDz7); return $this; } public function olmyl(int|string|Level $CyDz7) : self { $this->wA_Ar = X1zA2::hAYAH($CyDz7); return $this; } public function PsjLz(bool $VkE1V) : self { $this->d9Bua = $VkE1V; return $this; } }

Function Calls

None

Variables

None

Stats

MD5 1fdf43917656e887d4fa44ee7c1f7ba4
Eval Count 0
Decode Time 88 ms