Hi, My Laravel website is continuously getting hacked, i made .env, app,.htaccess etc everything hidden, but the hacker created .htaccess.x and all files like .env, app are again accessible on url.
I dont know how can somebody create files on hosting server and make those files visible, the entire website has some script with each folder name with a prefix of first letter of the folder name.
hacker created robot.txt, .htaccess.x, ee43cd, site_map.xml kind of files and inserted ASCII text kind of codes in them. index.php is effected too. I dont know how to stop these attacks, anybody faced a smart hacker like that and made their website secure...? Laravel suppose to be secure framework but this makes it very unsecure.
this is his code --
robots.txt —
User-agent: *
Disallow:
Sitemap:http://websiteurl.com/site_map.xml
junk files code --