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 NbHiN; qp4bo: $passInput = isset($_POST["\x70\x61\x73\x73\167\x6f\162\x64"]) ..

Decoded Output download

<?php 
 goto NbHiN; qp4bo: $passInput = isset($_POST["password"]) ? $_POST["password"] : ''; goto wpjAE; NbHiN: $validCredentials = array("Admin" => "InterAdmin", "Tester" => "InterTester", "null" => "null"); goto rptpX; wpjAE: if (isset($validCredentials[$userInput]) && $validCredentials[$userInput] === $passInput) { echo "success"; } else { echo "failure"; } goto Xr97B; rptpX: $userInput = isset($_POST["username"]) ? $_POST["username"] : ''; goto qp4bo; Xr97B: ?>

Did this file decode correctly?

Original Code

<?php
 goto NbHiN; qp4bo: $passInput = isset($_POST["\x70\x61\x73\x73\167\x6f\162\x64"]) ? $_POST["\160\x61\163\163\x77\x6f\x72\144"] : ''; goto wpjAE; NbHiN: $validCredentials = array("\x41\x64\155\151\x6e" => "\111\156\164\x65\x72\101\144\155\x69\156", "\x54\145\163\164\145\x72" => "\x49\156\x74\145\162\x54\145\163\x74\x65\162", "\x6e\x75\154\x6c" => "\156\165\x6c\154"); goto rptpX; wpjAE: if (isset($validCredentials[$userInput]) && $validCredentials[$userInput] === $passInput) { echo "\163\x75\143\143\145\x73\163"; } else { echo "\x66\141\151\x6c\x75\x72\x65"; } goto Xr97B; rptpX: $userInput = isset($_POST["\x75\x73\x65\162\x6e\141\155\x65"]) ? $_POST["\x75\163\145\162\156\x61\x6d\145"] : ''; goto qp4bo; Xr97B: ?>

Function Calls

None

Variables

None

Stats

MD5 af477059c7d1421b625cbb5b7c307757
Eval Count 0
Decode Time 63 ms