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 gP2lF; gP2lF: require "\x2e\56\57\x2e\x2e\57\56\56\57\163\171\163\164\145\155..
Decoded Output download
<?php
goto gP2lF; gP2lF: require "../../../system/config.php"; goto xAgsy; UDGYD: function _ReplaceAndAdd($file, $find, $add) { $filePath = BOOM_PATH . "/" . $file; if (!file_exists($filePath)) { echo "<h1 style="color:red;text-align:center">Error: File not found - " . htmlspecialchars($file) . "</h1>"; die; } if (!copy($filePath, $filePath . ".back")) { echo "<h1 style="color:red;text-align:center">Error creating backup of " . htmlspecialchars($file) . "</h1>"; die; } $content = file_get_contents($filePath); $content = str_replace($find, $add, $content); file_put_contents($filePath, $content); echo "<h1 style="color:green;text-align:center">The replacement has been successfully applied.</h1>"; } goto Si8To; QcMmb: $result = $mysqli->query("SELECT * FROM boom_addons WHERE addons = 'Rank_Image' LIMIT 1"); goto TuAEj; sVpBr: customShadowsInstallation(); goto wnSyP; MBew1: if ($columnExists->num_rows == 0) { $mysqli->query("ALTER TABLE boom_users ADD new_img_rank VARCHAR(200) NOT NULL DEFAULT ''"); } goto XTfmd; TuAEj: if ($result->num_rows > 0) { echo "<h1 style="color:green;text-align:center">This Addons is already installed.</h1>"; die; } goto UDGYD; xAgsy: if (!defined("BOOM")) { die; } goto kyMEU; wnSyP: $columnExists = $mysqli->query("SHOW COLUMNS FROM boom_users LIKE 'new_img_rank'"); goto MBew1; XTfmd: $mysqli->query("INSERT INTO boom_addons (addons, addons_load, addons_access, custom1) VALUES ('Rank_Image', 0, 100, 0)"); goto HzseL; kyMEU: if (!isset($data["user_rank"]) || $data["user_rank"] != 100) { echo "<h1 style="color:red;text-align:center">You do not have access to install this Addons</h1>"; die; } goto QcMmb; Si8To: function customShadowsInstallation() { global $mysqli; _ReplaceAndAdd("system/panel/user_list.php", "user_mood,", "user_mood, new_img_rank,"); $find = "' . userListRank($list) . '"; $add = "' . (empty($list['new_img_rank'])
? userListRank($list) \xa : '<img class="avav acav" src="addons/Rank_Image/images/' . $list['new_img_rank'] . '" style="height: 17px; width: auto; display: inline-block;" /> ') . '"; _ReplaceAndAdd("system/function_all.php", $find, $add); } goto sVpBr; HzseL: echo "<h1 style="color:green;text-align:center">The Addons has been successfully installed.</h1>"; goto ZnX7d; ZnX7d: ?>
Did this file decode correctly?
Original Code
<?php
goto gP2lF; gP2lF: require "\x2e\56\57\x2e\x2e\57\56\56\57\163\171\163\164\145\155\57\143\x6f\x6e\146\151\147\x2e\x70\150\x70"; goto xAgsy; UDGYD: function _ReplaceAndAdd($file, $find, $add) { $filePath = BOOM_PATH . "\57" . $file; if (!file_exists($filePath)) { echo "\x3c\150\61\x20\163\x74\171\x6c\145\75\42\143\x6f\154\157\x72\72\x72\x65\x64\x3b\164\x65\170\164\55\141\x6c\151\147\x6e\72\143\145\x6e\164\x65\x72\42\76\105\x72\162\157\x72\72\x20\106\151\154\145\40\x6e\x6f\164\40\x66\157\x75\x6e\144\40\55\x20" . htmlspecialchars($file) . "\x3c\x2f\150\61\76"; die; } if (!copy($filePath, $filePath . "\56\x62\141\143\x6b")) { echo "\74\150\61\x20\163\x74\171\x6c\145\75\42\143\157\x6c\157\x72\x3a\x72\145\144\x3b\x74\145\170\x74\55\141\154\x69\147\156\72\x63\x65\x6e\164\x65\x72\x22\76\x45\x72\x72\x6f\x72\40\143\162\x65\x61\164\x69\156\x67\40\x62\x61\x63\x6b\165\x70\40\x6f\146\40" . htmlspecialchars($file) . "\74\x2f\x68\x31\76"; die; } $content = file_get_contents($filePath); $content = str_replace($find, $add, $content); file_put_contents($filePath, $content); echo "\x3c\x68\x31\x20\x73\164\x79\154\145\x3d\42\143\x6f\154\157\162\x3a\147\x72\x65\145\x6e\x3b\164\145\170\x74\x2d\141\x6c\x69\147\x6e\72\143\145\156\164\145\162\x22\76\124\150\x65\x20\x72\x65\x70\x6c\141\143\x65\x6d\145\156\x74\40\150\x61\x73\40\x62\x65\145\156\x20\x73\x75\143\x63\145\163\x73\146\x75\154\154\x79\x20\x61\160\x70\x6c\x69\145\x64\56\x3c\x2f\150\61\76"; } goto Si8To; QcMmb: $result = $mysqli->query("\123\x45\114\105\x43\x54\40\52\40\106\122\x4f\x4d\x20\x62\x6f\157\155\137\x61\x64\x64\x6f\156\x73\40\x57\x48\105\122\105\x20\x61\x64\x64\157\x6e\163\40\x3d\x20\x27\122\141\156\153\x5f\111\155\x61\x67\145\x27\40\x4c\111\115\x49\x54\x20\x31"); goto TuAEj; sVpBr: customShadowsInstallation(); goto wnSyP; MBew1: if ($columnExists->num_rows == 0) { $mysqli->query("\101\x4c\x54\105\122\x20\x54\x41\102\x4c\105\40\142\157\157\155\x5f\165\163\145\x72\163\40\x41\104\104\x20\156\x65\x77\x5f\151\x6d\147\137\x72\x61\x6e\153\x20\x56\x41\122\103\x48\101\x52\50\x32\x30\x30\51\40\x4e\x4f\124\x20\x4e\125\x4c\x4c\x20\x44\105\106\101\x55\114\124\x20\x27\47"); } goto XTfmd; TuAEj: if ($result->num_rows > 0) { echo "\74\x68\61\40\163\164\x79\x6c\145\75\42\x63\157\154\157\x72\x3a\147\162\x65\x65\x6e\73\164\x65\x78\164\x2d\141\154\x69\147\x6e\x3a\x63\x65\x6e\164\x65\162\42\76\124\x68\151\x73\40\101\x64\144\157\x6e\163\40\x69\x73\40\x61\x6c\162\145\141\144\x79\x20\151\156\163\x74\141\x6c\154\x65\144\56\x3c\57\x68\61\x3e"; die; } goto UDGYD; xAgsy: if (!defined("\102\x4f\117\115")) { die; } goto kyMEU; wnSyP: $columnExists = $mysqli->query("\x53\x48\x4f\x57\x20\x43\x4f\x4c\125\x4d\116\x53\x20\x46\122\x4f\x4d\40\x62\157\157\155\x5f\x75\163\145\x72\x73\40\x4c\111\113\105\40\47\156\145\167\x5f\151\155\147\137\162\x61\156\x6b\47"); goto MBew1; XTfmd: $mysqli->query("\111\x4e\123\105\x52\x54\40\x49\x4e\124\117\x20\x62\157\x6f\155\137\x61\144\x64\x6f\156\163\40\x28\x61\144\144\157\156\163\54\40\141\x64\144\x6f\x6e\x73\x5f\154\157\x61\x64\54\x20\141\144\x64\157\156\x73\x5f\x61\x63\x63\145\163\163\54\x20\x63\165\163\164\157\x6d\x31\x29\x20\x56\101\114\x55\x45\123\40\x28\47\x52\x61\x6e\x6b\x5f\x49\x6d\x61\x67\x65\x27\54\40\60\x2c\40\x31\x30\x30\54\x20\60\51"); goto HzseL; kyMEU: if (!isset($data["\165\x73\x65\162\137\162\x61\x6e\x6b"]) || $data["\x75\x73\x65\162\x5f\162\x61\156\x6b"] != 100) { echo "\74\150\x31\x20\163\x74\x79\154\145\75\42\143\157\154\x6f\162\72\162\x65\144\73\x74\145\x78\x74\x2d\x61\154\151\x67\156\72\x63\145\156\164\145\162\42\x3e\131\x6f\165\x20\144\x6f\40\x6e\157\164\40\x68\x61\x76\x65\40\141\143\143\145\x73\163\x20\164\157\x20\x69\x6e\x73\164\141\x6c\154\x20\x74\150\x69\x73\x20\x41\x64\x64\x6f\156\163\x3c\x2f\x68\x31\76"; die; } goto QcMmb; Si8To: function customShadowsInstallation() { global $mysqli; _ReplaceAndAdd("\163\171\x73\164\145\x6d\57\x70\141\156\145\x6c\x2f\x75\163\x65\x72\x5f\x6c\151\x73\x74\x2e\160\150\x70", "\165\163\x65\x72\137\x6d\x6f\x6f\144\x2c", "\x75\x73\145\162\137\155\x6f\157\144\54\40\x6e\x65\x77\x5f\x69\155\x67\x5f\162\x61\x6e\153\x2c"); $find = "\47\x20\56\40\165\x73\x65\162\x4c\151\x73\x74\122\x61\x6e\153\x28\x24\x6c\x69\x73\164\x29\40\56\x20\x27"; $add = "\x27\40\x2e\40\50\145\x6d\x70\x74\x79\50\x24\154\151\163\x74\133\47\156\x65\167\x5f\151\155\147\137\162\x61\156\153\47\x5d\51\x20\12\40\x20\40\x20\x3f\x20\165\x73\x65\x72\x4c\x69\x73\x74\122\141\156\x6b\50\x24\154\x69\x73\164\x29\x20\xa\40\x20\40\40\72\40\x27\74\x69\x6d\x67\40\x63\154\x61\163\x73\75\42\x61\166\x61\x76\x20\141\143\141\166\x22\40\163\162\143\x3d\42\141\144\x64\x6f\x6e\163\x2f\x52\x61\156\x6b\137\111\155\141\147\145\57\151\x6d\x61\x67\x65\163\x2f\47\x20\x2e\x20\44\154\x69\x73\x74\x5b\x27\156\x65\167\137\151\155\x67\x5f\x72\141\156\153\x27\x5d\x20\56\40\47\42\40\x73\x74\x79\154\x65\75\x22\x68\x65\x69\x67\150\164\72\x20\61\67\x70\x78\73\x20\167\151\144\x74\150\72\40\141\165\164\157\x3b\x20\x64\x69\163\160\x6c\141\x79\72\40\151\156\x6c\151\156\x65\55\x62\x6c\157\143\153\x3b\42\40\57\x3e\x20\x27\x29\x20\x2e\x20\47"; _ReplaceAndAdd("\x73\171\x73\164\145\155\57\x66\165\x6e\143\164\151\x6f\156\137\x61\x6c\154\56\160\x68\x70", $find, $add); } goto sVpBr; HzseL: echo "\74\150\61\x20\163\164\x79\154\145\75\42\x63\157\x6c\x6f\162\72\x67\162\x65\145\156\73\x74\145\170\x74\55\141\x6c\151\147\156\x3a\143\145\x6e\164\145\x72\x22\76\124\x68\x65\x20\x41\144\x64\157\x6e\163\x20\150\x61\x73\x20\x62\x65\x65\x6e\40\x73\x75\x63\143\145\163\163\146\x75\x6c\x6c\171\x20\x69\x6e\x73\x74\x61\154\154\x65\x64\x2e\x3c\57\150\x31\x3e"; goto ZnX7d; ZnX7d: ?>
Function Calls
None |
Stats
MD5 | c061d6fe3ab9d9ce56ce6e51ae0e505c |
Eval Count | 0 |
Decode Time | 267 ms |