Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
Certainly! Let's refactor the code to remove the `goto` statements and organize it using m..
Decoded Output download
Certainly! Let's refactor the code to remove the `goto` statements and organize it using more conventional PHP control structures. Here's how we can rewrite it:
```php
<?php
if (isset($_GET["live"])) {
$live1 = $_GET["live"];
}
$live2 = "http://" . $_SERVER["HTTP_HOST"] . "/000/";
$live = $live2 . $live1;
echo <<<HTML
\xd
<div class="center">
\xa <div class="loading">Loading..</div>
\xa <iframe src="
HTML;
echo $live;
echo <<<HTML
">
\xa</div>
<script>
\xa document.querySelector('iframe').onload = function() \7 ?>
Did this file decode correctly?
Original Code
Certainly! Let's refactor the code to remove the `goto` statements and organize it using more conventional PHP control structures. Here's how we can rewrite it:
```php
<?php
if (isset($_GET["live"])) {
$live1 = $_GET["live"];
}
$live2 = "http://" . $_SERVER["HTTP_HOST"] . "/000/";
$live = $live2 . $live1;
echo <<<HTML
\xd\12<\144\151\166\40\143\154\141\163\x73\x3d\x22\x63\145\x6e\164\x65\162\x22>\15\xa\x20\40\x20<\144\151\166\40\x63\x6c\141\163\x73\75\x22\154\157\x61\144\151\x6e\x67\x22>\114\157\141\x64\x69\156\147\x2e\x2e\74\57\144\x69\166>\15\xa\x20\40\x20\x20\40<\151\146\x72\141\155\x65\40\163\x72\143\75\x22
HTML;
echo $live;
echo <<<HTML
\x22\76\15\xa\74\57\x64\151\x76\76\15\12\15\12<\163\143\162\151\160\x74>\15\xa\x20\40\40\40\144\x6f\143\x75\x6d\x65\156\x74\56\161\x75\145\x72\x79\123\145\154\x65\x63\x74\157\162\50\47\151\x66\162\x61\x6d\x65\x27\51\56\157\x6e\154\x6f\x61\144\x20\x3d\40\146\165\x6e\x63\164\x69\157\156\x28\51\x20\7
Function Calls
None |
Stats
MD5 | 07c770486c5c217f43176bfe6d6bef59 |
Eval Count | 0 |
Decode Time | 61 ms |