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 j1pvM; j1pvM: ?> <!doctypehtml><html lang="en"><head><meta charset="UTF-8"><..
Decoded Output download
<?php
goto j1pvM; j1pvM: ?>
<!doctypehtml><html lang="en"><head><meta charset="UTF-8"><meta content="width=device-width,initial-scale=1"name="viewport"><link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"rel="stylesheet"><title>Elenco Territori</title></head><body><div class="container mt-5"><?php goto AKuT5; AKuT5: $currentXMLPath = "./WorkingSpace/Data/current.xml"; goto ubkxe; ubkxe: if (isset($_POST["id"])) { $hash = $_POST["id"]; if (file_exists($currentXMLPath)) { $currentXML = simplexml_load_file($currentXMLPath); $proclamatore = null; foreach ($currentXML->proclamatore as $p) { if ((string) $p["hash"] === $hash) { $proclamatore = $p; break; } } if ($proclamatore !== null) { echo "<h2 class="text-center">Elenco dei territori assegnati a " . $proclamatore["nome"] . "</h2>"; echo "<ul class="list-group list-group-flush text-center">"; foreach ($proclamatore->children() as $territorio) { $territorioNome = $territorio->getName(); list($paese, $numero) = explode(".", $territorioNome); $territorioPath = "./WorkingSpace/Territories/" . $paese . "/" . $numero; if (is_dir($territorioPath)) { echo "<li class="list-group-item"><a href="#" class="territorio-link" data-paese="" . $paese . "" data-numero="" . $numero . "">" . $paese . " " . $numero . "</a></li>"; } } echo "</ul>"; } else { echo "<p class="text-center">Proclamatore non trovato.</p>"; } } else { echo "<p class="text-center">File current.xml non trovato.</p>"; } } else { echo "<p class="text-center">Hash non fornito.</p>"; } goto wMEqN; wMEqN: ?>
</div><script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script><script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script><script>$(document).ready(function(){$(".territorio-link").on("click",function(o){o.preventDefault();var e=$(this).data("paese"),t=$(this).data("numero");console.log("Territorio selezionato: "+e+" "+t)})})</script></body></html>
Did this file decode correctly?
Original Code
<?php
goto j1pvM; j1pvM: ?>
<!doctypehtml><html lang="en"><head><meta charset="UTF-8"><meta content="width=device-width,initial-scale=1"name="viewport"><link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"rel="stylesheet"><title>Elenco Territori</title></head><body><div class="container mt-5"><?php goto AKuT5; AKuT5: $currentXMLPath = "\56\57\x57\157\162\x6b\151\156\147\123\160\x61\x63\x65\x2f\x44\x61\x74\x61\57\x63\x75\162\x72\x65\x6e\164\56\170\x6d\x6c"; goto ubkxe; ubkxe: if (isset($_POST["\x69\x64"])) { $hash = $_POST["\x69\x64"]; if (file_exists($currentXMLPath)) { $currentXML = simplexml_load_file($currentXMLPath); $proclamatore = null; foreach ($currentXML->proclamatore as $p) { if ((string) $p["\150\141\x73\x68"] === $hash) { $proclamatore = $p; break; } } if ($proclamatore !== null) { echo "\x3c\x68\62\x20\x63\154\141\163\163\75\x22\x74\x65\x78\164\55\x63\145\x6e\x74\145\162\x22\76\x45\x6c\x65\x6e\143\157\x20\144\x65\x69\40\x74\145\162\162\151\164\157\x72\x69\40\141\163\x73\x65\147\156\x61\x74\x69\x20\141\x20" . $proclamatore["\x6e\157\155\145"] . "\x3c\57\x68\x32\x3e"; echo "\x3c\x75\x6c\40\x63\154\x61\x73\x73\x3d\x22\154\x69\x73\x74\55\x67\x72\x6f\x75\x70\40\x6c\151\x73\x74\55\147\162\x6f\x75\x70\x2d\x66\x6c\165\163\150\x20\164\x65\170\164\x2d\143\145\156\x74\x65\x72\x22\76"; foreach ($proclamatore->children() as $territorio) { $territorioNome = $territorio->getName(); list($paese, $numero) = explode("\x2e", $territorioNome); $territorioPath = "\x2e\57\127\157\162\153\151\x6e\147\123\160\x61\143\145\x2f\124\x65\x72\x72\151\x74\157\x72\151\145\163\57" . $paese . "\57" . $numero; if (is_dir($territorioPath)) { echo "\x3c\154\151\x20\x63\154\x61\x73\x73\75\42\154\151\163\164\55\x67\162\157\x75\160\x2d\151\164\x65\x6d\42\x3e\x3c\x61\40\150\162\145\146\75\42\x23\42\40\143\x6c\141\x73\163\x3d\x22\x74\x65\x72\x72\x69\164\x6f\162\151\x6f\55\x6c\151\156\x6b\x22\x20\144\141\x74\x61\55\x70\x61\145\163\145\x3d\x22" . $paese . "\42\40\144\141\x74\x61\x2d\x6e\165\x6d\x65\162\157\x3d\42" . $numero . "\42\76" . $paese . "\x20" . $numero . "\x3c\x2f\141\x3e\74\x2f\x6c\151\x3e"; } } echo "\74\x2f\x75\154\76"; } else { echo "\x3c\x70\40\x63\154\x61\163\163\75\x22\164\145\170\164\x2d\x63\x65\x6e\164\x65\x72\x22\76\x50\162\x6f\143\154\x61\x6d\x61\x74\157\162\x65\40\156\157\x6e\40\164\162\157\166\141\x74\x6f\56\x3c\x2f\x70\x3e"; } } else { echo "\x3c\x70\40\143\154\x61\x73\163\x3d\42\x74\145\x78\164\55\143\145\156\164\145\x72\x22\76\x46\151\154\x65\x20\x63\x75\162\162\145\156\164\56\x78\x6d\x6c\40\x6e\x6f\156\x20\164\162\x6f\x76\x61\164\157\x2e\74\x2f\x70\x3e"; } } else { echo "\x3c\160\40\x63\x6c\141\163\163\x3d\x22\164\145\x78\x74\x2d\x63\x65\x6e\x74\x65\x72\x22\76\x48\141\163\x68\x20\156\157\x6e\40\x66\x6f\x72\x6e\x69\164\x6f\x2e\x3c\57\160\76"; } goto wMEqN; wMEqN: ?>
</div><script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script><script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script><script>$(document).ready(function(){$(".territorio-link").on("click",function(o){o.preventDefault();var e=$(this).data("paese"),t=$(this).data("numero");console.log("Territorio selezionato: "+e+" "+t)})})</script></body></html>
Function Calls
None |
Stats
MD5 | 12b84a959c413a7df7cf033708195b70 |
Eval Count | 0 |
Decode Time | 36 ms |