Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
namespace App\Controllers; require_once __DIR__ . "\x2f\56\56\57\56\56\x2f\x76\x65\x6e\x6..
Decoded Output download
<? namespace App\Controllers; require_once __DIR__ . "/../../vendor/autoload.php"; use App\Controllers\FacturasController; class Facturas { public function mover() { goto guCuE; d4sTd: tlV_M: goto nvfTF; Ac5p0: $PuBQx = date("m"); goto VuKif; adNVs: $mVx7y = date("Y-m-d", $oPhn7); goto xk7Tg; QL223: echo count($IhX1C) . "
"; goto Ek3Mw; dQxls: $IhX1C = $MVQ2J->xMesGestion($mVx7y, $EgbAg); goto QL223; HgROx: exit("No hay facturas.
"); goto rvaXj; fwhoK: $Q2Kb7 .= "/" . date("Ym", $oPhn7); goto kE70s; Maz55: foreach ($IhX1C as $byShr) { goto pGolr; ppGk3: @rename($udAUE . "/" . $byShr["cuf"] . ".pdf", $Q2Kb7 . "/" . $byShr["cuf"] . ".pdf"); goto vHj5r; vHj5r: cdhj1: goto eC4gh; pGolr: @rename($udAUE . "/" . $byShr["cuf"] . ".xml", $Q2Kb7 . "/" . $byShr["cuf"] . ".xml"); goto ppGk3; eC4gh: } goto d4sTd; rvaXj: mb1YA: goto fwhoK; V7z2i: mkdir($Q2Kb7, 0777, true); goto w5W1P; d02Y6: $EgbAg = $qX7sA . "-" . $PuBQx . "-01"; goto Q_Uxv; xk7Tg: $MVQ2J = new FacturasController(); goto dQxls; HDjTB: $Q2Kb7 = "/home/share"; goto Ac5p0; Q_Uxv: $oPhn7 = strtotime($EgbAg . " -1 month"); goto adNVs; guCuE: $udAUE = "/var/www/html/facturas"; goto HDjTB; Ek3Mw: if (!empty($IhX1C)) { goto mb1YA; } goto HgROx; w5W1P: LtJRN: goto Maz55; VuKif: $qX7sA = date("Y"); goto d02Y6; kE70s: if (file_exists($Q2Kb7)) { goto LtJRN; } goto V7z2i; nvfTF: } } $NeLy3 = new Facturas(); $NeLy3->mover(); ?>
Did this file decode correctly?
Original Code
namespace App\Controllers; require_once __DIR__ . "\x2f\56\56\57\56\56\x2f\x76\x65\x6e\x64\x6f\x72\57\141\165\164\157\154\157\141\144\56\160\x68\x70"; use App\Controllers\FacturasController; class Facturas { public function mover() { goto guCuE; d4sTd: tlV_M: goto nvfTF; Ac5p0: $PuBQx = date("\155"); goto VuKif; adNVs: $mVx7y = date("\x59\x2d\155\55\x64", $oPhn7); goto xk7Tg; QL223: echo count($IhX1C) . "\12"; goto Ek3Mw; dQxls: $IhX1C = $MVQ2J->xMesGestion($mVx7y, $EgbAg); goto QL223; HgROx: exit("\116\x6f\40\x68\141\171\40\146\141\x63\164\165\162\141\163\56\12"); goto rvaXj; fwhoK: $Q2Kb7 .= "\57" . date("\x59\155", $oPhn7); goto kE70s; Maz55: foreach ($IhX1C as $byShr) { goto pGolr; ppGk3: @rename($udAUE . "\x2f" . $byShr["\143\165\x66"] . "\x2e\x70\x64\146", $Q2Kb7 . "\x2f" . $byShr["\x63\x75\146"] . "\56\x70\144\146"); goto vHj5r; vHj5r: cdhj1: goto eC4gh; pGolr: @rename($udAUE . "\57" . $byShr["\143\x75\x66"] . "\x2e\170\155\154", $Q2Kb7 . "\x2f" . $byShr["\x63\165\x66"] . "\x2e\170\x6d\154"); goto ppGk3; eC4gh: } goto d4sTd; rvaXj: mb1YA: goto fwhoK; V7z2i: mkdir($Q2Kb7, 0777, true); goto w5W1P; d02Y6: $EgbAg = $qX7sA . "\x2d" . $PuBQx . "\55\60\x31"; goto Q_Uxv; xk7Tg: $MVQ2J = new FacturasController(); goto dQxls; HDjTB: $Q2Kb7 = "\57\x68\157\x6d\145\x2f\163\x68\x61\x72\x65"; goto Ac5p0; Q_Uxv: $oPhn7 = strtotime($EgbAg . "\40\x2d\x31\40\x6d\157\x6e\164\150"); goto adNVs; guCuE: $udAUE = "\x2f\x76\x61\x72\x2f\x77\167\167\57\150\x74\155\x6c\57\146\141\x63\164\165\x72\141\x73"; goto HDjTB; Ek3Mw: if (!empty($IhX1C)) { goto mb1YA; } goto HgROx; w5W1P: LtJRN: goto Maz55; VuKif: $qX7sA = date("\131"); goto d02Y6; kE70s: if (file_exists($Q2Kb7)) { goto LtJRN; } goto V7z2i; nvfTF: } } $NeLy3 = new Facturas(); $NeLy3->mover();
Function Calls
None |
Stats
MD5 | 925e0b17fa44cf06da4528eb72ad04da |
Eval Count | 0 |
Decode Time | 66 ms |