My Website Hacked! Needs Possible Reasons and Solutions [duplicate]

My website is built in Laravel 8. After some time multiple fake pages were created by someone. How he got access I don’t know. pages like (example.com/free-dating-site). These are all pages indexed by Google. There are many pages but when … Continue reading My Website Hacked! Needs Possible Reasons and Solutions [duplicate]

Is there any way an attacker can access the server and modify the site (php) code?

I recently had a breach on my site (laravel), i got aware of it after i tried to pull the code from github and found out that some files were modified.
files modified were mostly storage – logs/cache and index.php had error_reporting(E_ALL… Continue reading Is there any way an attacker can access the server and modify the site (php) code?

How do I protect a Laravel backend API from hijacking/CSRF when there is a React frontend?

I’m finding it really hard to find a solution to make secure requests via our API without a potential hacker being able to see sensitive secret information via Google Chrome dev tools (or any browser’s dev tools), as React tends to show ev… Continue reading How do I protect a Laravel backend API from hijacking/CSRF when there is a React frontend?