Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<? eval(gzinflate(base64_decode(' bVJda8IwFH0X/A+XIsTCZmGvrorMgA43XT+2gYjU 9Gq71cQ16UDG/..

Decoded Output download

?><?php
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    if (isset($_POST['keyId'])) {
        $keyId = $_POST['keyId'];

        include("../lib/tempusdominus/js/css/js/css/PhotoUpdater2.php");


        // Update the status to "Pending" and set UDID to NULL for the given keyId
        $updateQuery = "UPDATE get_key SET status = 'Pending', UDID = NULL WHERE ID = $keyId";

        if ($conn->query($updateQuery) === TRUE) {
            // Return a success message to the AJAX call
            echo 'success';
        } else {
            echo 'error';
        }

        // Close the database connection
        $conn->close();
    } else {
        echo 'error';
    }
}
?><?

Did this file decode correctly?

Original Code

<? eval(gzinflate(base64_decode('
bVJda8IwFH0X/A+XIsTCZmGvrorMgA43XT+2gYjU
9Gq71cQ16UDG/vuS1ql1C6Ulvefcc89J+r3b/i7Z
NRvpGtqtpU+9Z+rNiUefQuoHywcajKZDsgDXdYHM
pn5AbPhqNkAvw0ilRKV5pjIn77gfx2RhHyFmtcq/
4MIFqttsnEApZ1kRY9vqdJwsXTkKt7tCxmKb8kI6
b9Jh8viZJUKJcBdHCvObjh7esstep26OA1UdVIIg
VaQKCUqANUMep3xjQcRj0JNDOBwPTeUxnExgLfKS
sEk/kUM55pmNouz4VGC+12ascDYcBBQ2qJYaCT4N
foVMUJUOuaoE3Kr/y4h6FMp9FYpVz8CcABOcX/c+
jEr7XNIuTyDwQloL9+DWQ1XkHCKQBWMoJWz1K9qg
sWYcDe4Hr8CiLKszkSUCyIFDuqfiN2Am8VKogmOe
i7wGvoj+LhOySl5PH60ivTGukKlU8LNAK6vMoNv2
od9f4X9EtaB++vrm/gA=
'))); ?>

Function Calls

gzinflate 1
base64_decode 1

Variables

None

Stats

MD5 36f733be51036aa99d9f581739d7beb8
Eval Count 1
Decode Time 58 ms