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 goto fEk0C; uIU36: tmQyz: goto f4o8p; yKkw6: if (@$w8hke["\x66\x69\154\145\x73"]) ..

Decoded Output download

<?php 
 goto fEk0C; uIU36: tmQyz: goto f4o8p; yKkw6: if (@$w8hke["files"]) { goto tmQyz; } goto QDEVB; aQjlm: die("missing parameter [screen]"); goto mkiIn; U67If: if ($w8hke = @$screens_config[$V1nz2]) { goto BE0_Q; } goto q6CLO; vA8ix: if ($V1nz2 = @$_GET["screen"]) { goto sdnKN; } goto aQjlm; IH3Uq: header("Content-type: text/plain"); goto uAnUw; ufgGw: goto ngUbh; goto S_SoV; r12qG: include $Wnrbk; goto vA8ix; S_SoV: Z7xEY: goto yKkw6; kh4NS: if (file_exists($Wnrbk = "config/" . str_replace("/", '', $_GET["config"]) . ".inc.php")) { goto H3Sn7; } goto YyiBh; gOvKo: foreach ($MWJwN as $Q9afG) { goto J8Ll3; rJzQU: RzQQR: goto JdCcD; RiZr3: if (!(($ewfZT = @filemtime($q6GS7)) > $TrA5m)) { goto HZ_SK; } goto M2zEF; utdXW: $q6GS7 = $mfB8_ . "/" . $gB5oD . ".papi"; goto RiZr3; NcEob: M_Bew: goto zl3rn; dEy7T: RlE60: goto N8Mk3; J8Ll3: $Bw_un = $files_config[$Q9afG]; goto Ae9rS; zl3rn: stTnn: goto utdXW; Ae9rS: if ($mfB8_ = @$Bw_un["path"]) { goto RzQQR; } goto H9cA5; H9cA5: $mfB8_ = "./papi"; goto rJzQU; b23Qh: HZ_SK: goto dEy7T; UMFCF: if ($gB5oD = @$Bw_un["id"]) { goto M_Bew; } goto uRNmq; uRNmq: die("no id"); goto NcEob; JdCcD: if ($gB5oD = @$Bw_un["filename"]) { goto stTnn; } goto UMFCF; M2zEF: $TrA5m = $ewfZT; goto b23Qh; N8Mk3: } goto ijzXS; DMKEl: if (@$w8hke["type"] == "last-results") { goto Z7xEY; } goto VY6mu; w9gSq: lAcoY: goto M1gR7; lVQ4k: $TrA5m = 0; goto gOvKo; P03oN: KSAmY: goto kh4NS; q6CLO: die("screen [" . $V1nz2 . "] not found"); goto f2sdL; u8dZQ: die("missing parameter [config]"); goto P03oN; aXddJ: $Ox6wt = explode(",", str_replace(" ", '', @$w8hke["boards"])); goto V9IZ2; f4o8p: $MWJwN = explode(",", str_replace(" ", '', @$w8hke["files"])); goto w9gSq; V9IZ2: foreach ($Ox6wt as $WO5rG) { goto Gb60O; CpoPm: i0TvL: goto mQX11; Wuos7: die("bad board set [" . $WO5rG . "]"); goto CpoPm; Gb60O: if (preg_match("/([^:]+)(:([\d]*)-([\d]*))*/", $WO5rG, $vn3sj)) { goto i0TvL; } goto Wuos7; mQX11: $MWJwN[] = $vn3sj[1]; goto vM5zJ; vM5zJ: u5rKk: goto DdawH; DdawH: } goto zryOM; QDEVB: $MWJwN = array_keys(@$files_config); goto p7vBs; YyiBh: die("configuration file [" . $Wnrbk . "] not found"); goto JQcYk; M1gR7: ngUbh: goto lVQ4k; p7vBs: goto lAcoY; goto uIU36; fEk0C: if (@$_GET["config"]) { goto KSAmY; } goto u8dZQ; f2sdL: BE0_Q: goto DMKEl; mkiIn: sdnKN: goto U67If; VY6mu: $MWJwN = array(); goto aXddJ; zryOM: S4aWa: goto ufgGw; JQcYk: H3Sn7: goto r12qG; ijzXS: UgodY: goto IH3Uq; uAnUw: echo $TrA5m; ?>

Did this file decode correctly?

Original Code

<?php
 goto fEk0C; uIU36: tmQyz: goto f4o8p; yKkw6: if (@$w8hke["\x66\x69\154\145\x73"]) { goto tmQyz; } goto QDEVB; aQjlm: die("\x6d\151\x73\163\x69\156\x67\40\x70\x61\162\141\x6d\145\x74\x65\162\x20\133\163\x63\162\x65\x65\156\135"); goto mkiIn; U67If: if ($w8hke = @$screens_config[$V1nz2]) { goto BE0_Q; } goto q6CLO; vA8ix: if ($V1nz2 = @$_GET["\163\x63\162\x65\x65\156"]) { goto sdnKN; } goto aQjlm; IH3Uq: header("\x43\157\x6e\164\145\x6e\164\x2d\164\x79\x70\x65\x3a\40\164\x65\170\x74\57\x70\x6c\x61\151\x6e"); goto uAnUw; ufgGw: goto ngUbh; goto S_SoV; r12qG: include $Wnrbk; goto vA8ix; S_SoV: Z7xEY: goto yKkw6; kh4NS: if (file_exists($Wnrbk = "\x63\157\156\x66\x69\x67\57" . str_replace("\57", '', $_GET["\x63\157\x6e\146\151\x67"]) . "\x2e\x69\156\x63\x2e\160\150\x70")) { goto H3Sn7; } goto YyiBh; gOvKo: foreach ($MWJwN as $Q9afG) { goto J8Ll3; rJzQU: RzQQR: goto JdCcD; RiZr3: if (!(($ewfZT = @filemtime($q6GS7)) > $TrA5m)) { goto HZ_SK; } goto M2zEF; utdXW: $q6GS7 = $mfB8_ . "\x2f" . $gB5oD . "\x2e\160\x61\160\x69"; goto RiZr3; NcEob: M_Bew: goto zl3rn; dEy7T: RlE60: goto N8Mk3; J8Ll3: $Bw_un = $files_config[$Q9afG]; goto Ae9rS; zl3rn: stTnn: goto utdXW; Ae9rS: if ($mfB8_ = @$Bw_un["\160\x61\x74\x68"]) { goto RzQQR; } goto H9cA5; H9cA5: $mfB8_ = "\56\57\160\x61\160\151"; goto rJzQU; b23Qh: HZ_SK: goto dEy7T; UMFCF: if ($gB5oD = @$Bw_un["\151\144"]) { goto M_Bew; } goto uRNmq; uRNmq: die("\156\157\40\x69\x64"); goto NcEob; JdCcD: if ($gB5oD = @$Bw_un["\x66\x69\x6c\x65\156\141\155\145"]) { goto stTnn; } goto UMFCF; M2zEF: $TrA5m = $ewfZT; goto b23Qh; N8Mk3: } goto ijzXS; DMKEl: if (@$w8hke["\x74\x79\x70\x65"] == "\x6c\141\x73\164\x2d\x72\145\163\x75\x6c\x74\163") { goto Z7xEY; } goto VY6mu; w9gSq: lAcoY: goto M1gR7; lVQ4k: $TrA5m = 0; goto gOvKo; P03oN: KSAmY: goto kh4NS; q6CLO: die("\163\x63\x72\145\x65\x6e\x20\133" . $V1nz2 . "\x5d\x20\x6e\157\x74\x20\146\x6f\x75\x6e\144"); goto f2sdL; u8dZQ: die("\x6d\x69\x73\x73\x69\x6e\x67\40\160\x61\162\x61\x6d\145\164\x65\162\40\133\x63\157\156\146\x69\x67\135"); goto P03oN; aXddJ: $Ox6wt = explode("\54", str_replace("\x20", '', @$w8hke["\x62\x6f\141\162\x64\163"])); goto V9IZ2; f4o8p: $MWJwN = explode("\x2c", str_replace("\x20", '', @$w8hke["\146\151\154\145\x73"])); goto w9gSq; V9IZ2: foreach ($Ox6wt as $WO5rG) { goto Gb60O; CpoPm: i0TvL: goto mQX11; Wuos7: die("\142\141\x64\x20\x62\157\141\162\144\40\x73\145\164\x20\133" . $WO5rG . "\135"); goto CpoPm; Gb60O: if (preg_match("\57\x28\x5b\x5e\72\x5d\x2b\51\x28\x3a\x28\x5b\134\144\x5d\52\x29\x2d\x28\x5b\x5c\144\135\52\51\x29\x2a\x2f", $WO5rG, $vn3sj)) { goto i0TvL; } goto Wuos7; mQX11: $MWJwN[] = $vn3sj[1]; goto vM5zJ; vM5zJ: u5rKk: goto DdawH; DdawH: } goto zryOM; QDEVB: $MWJwN = array_keys(@$files_config); goto p7vBs; YyiBh: die("\143\x6f\x6e\x66\x69\x67\165\162\141\x74\x69\x6f\x6e\40\146\151\154\x65\x20\x5b" . $Wnrbk . "\135\x20\x6e\x6f\164\40\146\x6f\165\156\x64"); goto JQcYk; M1gR7: ngUbh: goto lVQ4k; p7vBs: goto lAcoY; goto uIU36; fEk0C: if (@$_GET["\x63\x6f\156\x66\x69\147"]) { goto KSAmY; } goto u8dZQ; f2sdL: BE0_Q: goto DMKEl; mkiIn: sdnKN: goto U67If; VY6mu: $MWJwN = array(); goto aXddJ; zryOM: S4aWa: goto ufgGw; JQcYk: H3Sn7: goto r12qG; ijzXS: UgodY: goto IH3Uq; uAnUw: echo $TrA5m;

Function Calls

None

Variables

None

Stats

MD5 7c91913b013bd67722a6f36c8a1b61fd
Eval Count 0
Decode Time 44 ms