I remembered now.
I installed joomla on a website and closed the login from the homepage.
No pages, no plugins, as I installed
Yet hackers left zip, folder and php files on this website
On another website, “webtrees” was installed, similar files were left by hackers on my website.
Similar files were left by hackers on my website that I am trying to write
I have multiple websites on one hosting.
If there is a problem with my codes, why did the hackers leave files on other ready-made websites?
But not all reproach.
Only one of the 3 “webstrees”
Only one of 2 “joomla”
In addition, there is an option to upload company logo images on my website.
I check as below if there is an image uploaded
$target_file = $target_dir . basename($file_name);
$imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION));
$extensions = array('jpeg','jpg','png','gif');
if (!in_array($imageFileType, $extensions )) {
$errors[] = "Sorry, only JPG, JPEG, PNG and GIF files are allowed.";
}