| Server IP : 208.122.213.31 / Your IP : 216.73.216.185 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/nshoneys.com/public_html/hosted1/ |
Upload File : |
<?php
$fp1 = fopen("phpfiles.list","r");
while(!feof($fp1)) {
$file = fgets($fp1, 255);
$file = explode(".php",$file);
$file = $file[0] . ".php";
ob_start();
readfile($file);
$fp = ob_get_contents();
ob_end_clean();
$replace_str = "</body>";
$replace_with = "<?php include(\"http://www.nshoneys.com/2257.inc.php\"); ?>\n</body>";
if(!strpos($fp, $replace_with)) {
$lp = str_replace($replace_str, $replace_with, $fp);
$fp = fopen($file, "w");
fwrite($fp, $lp);
}
fclose($fp);
echo $file . " replaces succesfully.\n";
}
fclose($fp1);
?>