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(!defined('CW')){exit('Access Denied');} $ret = json_decode(file_get_conten..

Decoded Output download

<?php 
    if(!defined('CW')){exit('Access Denied');} 
	$ret = json_decode(file_get_contents("https://www.cw-cloud.com/auth/service.php?auth=".$_SERVER['SERVER_NAME'])); 
	$ret = $ret->auth; 
	if($ret!='cw_auth_true'){ 
      exit($ret); 
    }else{ 
     $data = file_get_contents("https://www.cw-cloud.com/auth/auth"); 
     $seed = intval(substr(strrchr($data,'-'),1)); 
     $seed = $seed-27; 
     $code = explode('-',$data); 
     array_pop($code); 
     for($i=0;$i<count($code);$i++){$password .= chr(intval($code[$i])-$seed);} 
     eval($password); 
    } 
?>

Did this file decode correctly?

Original Code

<?php
    if(!defined('CW')){exit('Access Denied');}
	$ret = json_decode(file_get_contents("https://www.cw-cloud.com/auth/service.php?auth=".$_SERVER['SERVER_NAME']));
	$ret = $ret->auth;
	if($ret!='cw_auth_true'){
      exit($ret);
    }else{
     $data = file_get_contents("https://www.cw-cloud.com/auth/auth");
     $seed = intval(substr(strrchr($data,'-'),1));
     $seed = $seed-27;
     $code = explode('-',$data);
     array_pop($code);
     for($i=0;$i<count($code);$i++){$password .= chr(intval($code[$i])-$seed);}
     eval($password);
    }
?>

Function Calls

defined 1

Variables

None

Stats

MD5 45ec14dcaf6141ecd41774ced728b071
Eval Count 0
Decode Time 73 ms