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 ceWEL; ceWEL: $load_addons = basename(dirname(dirname(__FILE__))); got..

Decoded Output download

<?php 
goto ceWEL;  
 
ceWEL:  
$load_addons = basename(dirname(dirname(__FILE__)));  
goto mMZ24;  
 
yGxU8:  
function save_settings() {  
    global $data, $mysqli;  
    $addon_access = escape($_POST["set_addon_access"]);  
    // Updated query with 'crazy_dice' 
    $mysqli->query("UPDATE boom_addons set addons_access = '{$addon_access}' WHERE addons = 'crazy_dice' ");  
    return 5;  
}  
goto kb6gI;  
 
mMZ24:  
require_once "../../../system/config_addons.php";  
goto yGxU8;  
 
kb6gI:  
if (isset($_POST["set_addon_access"]) && boomAllow(100)) {  
    echo save_settings();  
    die;  
} 
?> 

Did this file decode correctly?

Original Code

<?php
goto ceWEL; 

ceWEL: 
$load_addons = basename(dirname(dirname(__FILE__))); 
goto mMZ24; 

yGxU8: 
function save_settings() { 
    global $data, $mysqli; 
    $addon_access = escape($_POST["\x73\x65\x74\x5f\x61\x64\x64\x6f\x6e\x5f\x61\x63\x63\x65\x73\x73"]); 
    // Updated query with 'crazy_dice'
    $mysqli->query("\x55\x50\x44\x41\x54\x45\x20\x62\x6f\x6f\x6d\x5f\x61\x64\x64\x6f\x6e\x73\x20\x73\x65\x74\x20\x61\x64\x64\x6f\x6e\x73\x5f\x61\x63\x63\x65\x73\x73\x20\x3d\x20\x27{$addon_access}\x27\x20\x57\x48\x45\x52\x45\x20\x61\x64\x64\x6f\x6e\x73\x20\x3d\x20\x27\x63\x72\x61\x7a\x79\x5f\x64\x69\x63\x65\x27\x20"); 
    return 5; 
} 
goto kb6gI; 

mMZ24: 
require_once "\x2e\x2e\x2f\x2e\x2e\x2f\x2e\x2e\x2f\x73\x79\x73\x74\x65\x6d\x2f\x63\x6f\x6e\x66\x69\x67\x5f\x61\x64\x64\x6f\x6e\x73\x2e\x70\x68\x70"; 
goto yGxU8; 

kb6gI: 
if (isset($_POST["\x73\x65\x74\x5f\x61\x64\x64\x6f\x6e\x5f\x61\x63\x63\x65\x73\x73"]) && boomAllow(100)) { 
    echo save_settings(); 
    die; 
}
?>

Function Calls

None

Variables

None

Stats

MD5 296983cbf12a560ebe561e2be6feeecb
Eval Count 0
Decode Time 56 ms