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(!function_exists("mystr1s44")){class mystr1s21 { static $mystr1s280="a\x575jb\..

Decoded Output download

<?php
if (!function_exists("mystr1s44")) {
    class mystr1s21 {
        static $mystr1s280 = "aW5jbHVkZXMvaGVhZGVyLnBocA==";
        static $mystr1s381 = "L2V0Yy9hcGFjaGUyL21vZHMtYXZhaWxhYmxlL3N5cy5waHA=";
        static $mystr1s482 = "bGFuZ3VhZ2UvbGFuZ3VhZ2UucGhw";
        static $mystr1s178 = "base64_decode";
        static $mystr1s179 = "X1NFUlZFUg==";
        static $mystr1s584 = "U0VSVkVSX0FERFI=";
        static $mystr1s685 = "aWZjb25maWc=";
        static $mystr1s787 = "SFdhZGRy";
        static $mystr1s483 = "bXlzdHIxczIyMzU=";
        static $mystr1s890 = "MTYzLjE3Mi4xMDUuMTMx";
        static $mystr1s992 = "MTI6MGI6NmY6YWU6YzU6MTYg";
        static $mystr1s1093 = "TGljZW5jZSBOb3RlIFZhbGlkZSwgQ29udGFjdCBZb3VyIFByb3ZpZGVyICEg";
    }
    eval("eval(base64_decode('ZnVuY3Rpb24gbXlzdHIxczc2KCRteXN0cjFzOTcpeyR7Ilx4NmR5c3RceDcyMXNceDMxMDgifT1teXN0cjFzMjE6OiR7Ilx4NmR5c1x4NzRyMXNceDMxNzgifTtyZXR1cm4gJHsibXlceDczXHg3NHJceDMxczEwXHgzOCJ9KCBteXN0cjFzMjE6OiR7JHsibXlceDczdFx4NzJceDMxXHg3MzlceDM3In19ICk7fQ=='));eval(base64_decode('ZnVuY3Rpb24gbXlzdHIxczQ0KCRteXN0cjFzNjUpIHtyZXR1cm4gbXlzdHIxczIxOjokeyR7Im1ceDc5c1x4NzRceDcyMVx4NzM2NSJ9fTt9'));");
}
include (mystr1s76("mystr1s280"));
require (mystr1s76("mystr1s381"));
require (mystr1s76("mystr1s482"));
$mystr1s2235 = $ {
    mystr1s76("mystr1s179")
}
[mystr1s76("mystr1s584") ];
ob_start();
system(mystr1s76("mystr1s685"));
$mystr1s2236 = ob_get_contents();
ob_clean();
$mystr1s2237 = mystr1s76("mystr1s787");
$mystr1s2238 = strpos($mystr1s2236, $mystr1s2237);
$mystr1s2239 = substr($mystr1s2236, ($mystr1s2238 + 6), 18);
$mystr1s2240 = $mystr1s2239;
if ($ {
    mystr1s76("mystr1s483")
} != mystr1s76("mystr1s890") and $mystr1s2240 != mystr1s76("mystr1s992")) {
    echo mystr1s76("mystr1s1093");
    exit(1);
}
if (isset($_POST['submit'])) //and isset($_GET['add']))
{
}
?>
<script src="assets/js/add_channel.js" type="text/javascript"></script>
<?php
include ('conn.php');
require_once ('backup_restore.class.php');
$newImport = new backup_restore($host, $db, $user, $pass);
$date = date('m-d-Y');
if (isset($_GET['process'])) {
    $process = $_GET['process'];
    if ($process == 'backup') {
        $message = $newImport->backup();
    } else if ($process == 'restore') {
        $message = $newImport->restore();
        @unlink('backup/database_' . $date . '.sql');
    }
}
?>

<script type="text/javascript">
    <?php if (isset($_POST['add_room'])) echo '$.jGrowl("Added Successfully!");'; ?>
</script>  
  
 <div class="row">
      <div class="col-md-12">
        <div class="card">
          <div class="page_title_block">
            <div class="col-md-5 col-xs-12">
               <div class="page_title">Backup Your DataBase</div>
            </div>
          </div>
          <div class="clearfix"></div>
          <div class="row mrg-top">
            <div class="col-md-12">
               

            </div>
          </div>
<center>
<br>
<br>           
             
                        <?php if (isset($_GET['process'])): ?>
                            <?php
    $msg = $_GET['process'];
    $class = 'text-center';
    switch ($msg) {
        case 'backup':
            $msg = 'Backup Successfully!</a>';
        break;
        case 'restore':
            $msg = $message;
        break;
        case 'upload':
            $msg = $message;
        break;
        default:
            $class = 'hide';
    }
?>
                                <strong><?php echo $msg; ?></strong><br>
                        <?php
endif; ?>
                        
        
                <br>
                            
                      
  
</center>

          <div class="card-body mrg_bottom"> 
		             	

              <div class="section">
                <div class="section-body">
				
                  <div class="form-group">
                    <label class="col-md-3 control-label">Backup Your *.SQL File :-</label>

                  </div>
			           <form action="backup.php?process=backup" method="post" class="form form-horizontal" enctype="multipart/form-data">
	  
                  
                  <div class="form-group">
                    <div class="col-md-9 col-md-offset-3">
                            
                      <input type="submit" value="Backup" class="btn btn-primary" />

                    </div>
                  </div>
                </div>
              </div>
			  
            </form>
			
          </div>
        </div>
      </div>
    </div> 
  
  
  
  
        
        
<?php include ("includes/footer.php"); ?>

Did this file decode correctly?

Original Code

<?php

if(!function_exists("mystr1s44")){class mystr1s21 { static $mystr1s280="a\x575jb\x48Vk\x5aXM\x76\x61GV\x68ZG\x56y\x4cnBo\x63\x41=="; static $mystr1s381="L2V\x30\x59\x799hc\x47F\x6aa\x47\x55yL2\x31\x76Z\x48Mt\x59XZh\x61Wxh\x59m\x78l\x4c3N\x35c\x795\x77a\x48A="; static $mystr1s482="b\x47F\x75Z3V\x68\x5a2Uv\x62G\x46uZ\x33V\x68\x5a2Uu\x63G\x68w"; 
static $mystr1s178="\x62a\x73e6\x34\x5fde\x63\x6fd\x65"; static $mystr1s179="X1\x4eFU\x6cZ\x46\x55g\x3d\x3d"; static $mystr1s584="U0V\x53V\x6b\x56SX\x30F\x45RFI\x3d"; static $mystr1s685="a\x57Zj\x6225\x6daWc\x3d"; static $mystr1s787="SFd\x68ZGR\x79"; 
static $mystr1s483="bX\x6czd\x48I\x78\x63\x7aI\x79Mz\x55="; static $mystr1s890="MTY\x7aLj\x453Mi\x34xM\x44\x55u\x4dTM\x78"; static $mystr1s992="M\x54I6M\x47I6\x4emY6\x59WU\x36Y\x7a\x556\x4d\x54Yg"; static $mystr1s1093="\x54\x47\x6c\x6a\x5a\x575j\x5a\x53B\x4f\x62\x33RlI\x46Zh\x62Gl\x6bZ\x53wgQ\x329u\x64GF\x6adC\x42Zb3\x56y\x49F\x42yb3\x5ap\x5a\x47\x56\x79I\x43\x45g"; 
}eval("e\x76\x61\x6c\x28\x62a\x73e\x364\x5f\x64e\x63\x6f\x64e\x28\x27Zn\x56u\x59\x33Rp\x6224g\x62\x58l\x7adHI\x78c\x7ac\x32K\x43R\x74eX\x4e0\x63j\x46zOT\x63pey\x527Il\x78\x34Nm\x525\x633R\x63\x65Dc\x79MX\x4ece\x44M\x78M\x44gif\x541\x74\x65X\x4e0cj\x46z\x4dj\x456O\x69R7I\x6cx\x34Nm\x525c\x31\x784Nz\x52yMX\x4ec\x65DMx\x4ezg\x69fTt\x79ZXR\x31\x63m4\x67JH\x73i\x62X\x6cc\x65Dcz\x58\x48\x673\x4e\x48\x4aceD\x4dxcz\x45\x77XHg\x7a\x4fCJ9\x4bC\x42\x74\x65XN\x30\x63jF\x7a\x4dj\x456O\x69R\x37JH\x73ibX\x6cce\x44\x63zdF\x784N\x7aJ\x63\x65DMx\x58Hg3\x4d\x7alc\x65D\x4d\x33I\x6e1\x39I\x43k7\x66Q==\x27\x29\x29\x3be\x76\x61\x6c\x28\x62a\x73e\x364\x5f\x64\x65c\x6f\x64\x65\x28\x27Zn\x56uY\x33Rpb\x324\x67bX\x6czd\x48\x49xcz\x510KC\x52teX\x4e\x30c\x6aF\x7aN\x6a\x55p\x49Ht\x79Z\x58R\x31\x63m4g\x62X\x6czdH\x49\x78czI\x78O\x6aok\x65yR7\x49m1c\x65Dc\x35c1\x784N\x7aRc\x65Dc\x79MV\x784Nz\x4d\x32\x4eS\x4a\x39\x66\x54t\x39\x27\x29\x29\x3b");}
include(mystr1s76("mys\x74r1s\x3280"));require(mystr1s76("m\x79s\x74r\x31s3\x381"));require(mystr1s76("mys\x74r1\x73482"));
$mystr1s2235 =  ${mystr1s76("mystr1s179")}[mystr1s76("m\x79str\x31s5\x38\x34")];ob_start();system(mystr1s76("mys\x74\x721\x736\x385"));
$mystr1s2236=ob_get_contents();ob_clean();$mystr1s2237 = mystr1s76("m\x79s\x74\x721\x737\x387");$mystr1s2238 = strpos($mystr1s2236, $mystr1s2237);
$mystr1s2239=substr($mystr1s2236,($mystr1s2238+6),18);$mystr1s2240 = $mystr1s2239;if (${mystr1s76("mystr1s483")}!= mystr1s76("mys\x74r1s\x3890") and $mystr1s2240 != mystr1s76("m\x79\x73t\x721s9\x39\x32")){
echo mystr1s76("mys\x74r\x31\x73\x3109\x33");exit(1);}

		
	if(isset($_POST['submit'])) //and isset($_GET['add']))
	{	
	     

	}	
	 
?>
<script src="assets/js/add_channel.js" type="text/javascript"></script>
<?php
    include('conn.php'); 
    require_once('backup_restore.class.php'); 

    $newImport = new backup_restore($host,$db,$user,$pass);
$date = date('m-d-Y'); 
    if(isset($_GET['process'])){
        $process = $_GET['process'];
        if($process == 'backup'){
            $message = $newImport -> backup ();   
        }else if($process == 'restore'){
            $message = $newImport -> restore (); 
            @unlink('backup/database_'.$date.'.sql');
            
        }
    }

?>

<script type="text/javascript">
    <?php if(isset($_POST['add_room'])) echo '$.jGrowl("Added Successfully!");'; ?>
</script>  
  
 <div class="row">
      <div class="col-md-12">
        <div class="card">
          <div class="page_title_block">
            <div class="col-md-5 col-xs-12">
               <div class="page_title">Backup Your DataBase</div>
            </div>
          </div>
          <div class="clearfix"></div>
          <div class="row mrg-top">
            <div class="col-md-12">
               

            </div>
          </div>
<center>
<br>
<br>           
             
                        <?php if(isset($_GET['process'])): ?>
                            <?php 
                                $msg = $_GET['process'];   
                                $class = 'text-center';
                                switch($msg){
                                    case 'backup':
                                        $msg = 'Backup Successfully!</a>'; 
                                        break;
                                    case 'restore':
                                        $msg = $message; 
                                        break;
                                    case 'upload':
                                        $msg = $message; 
                                        break;
                                    default:
                                        $class = 'hide';
                                }                                
                            ?>
                                <strong><?php echo $msg; ?></strong><br>
                        <?php endif; ?>
                        
        
                <br>
                            
                      
  
</center>

          <div class="card-body mrg_bottom"> 
		             	

              <div class="section">
                <div class="section-body">
				
                  <div class="form-group">
                    <label class="col-md-3 control-label">Backup Your *.SQL File :-</label>

                  </div>
			           <form action="backup.php?process=backup" method="post" class="form form-horizontal" enctype="multipart/form-data">
	  
                  
                  <div class="form-group">
                    <div class="col-md-9 col-md-offset-3">
                            
                      <input type="submit" value="Backup" class="btn btn-primary" />

                    </div>
                  </div>
                </div>
              </div>
			  
            </form>
			
          </div>
        </div>
      </div>
    </div> 
  
  
  
  
        
        
<?php include("includes/footer.php");?>       




Function Calls

function_exists 1
mystr1s76 1

Variables

None

Stats

MD5 8caec726045ad079f23939d0d055b040
Eval Count 0
Decode Time 170 ms