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?

– Exploit aborted due to failure: not-found: Can’t find base64 decode on target

So. I am having some issues at metasploit.
I am trying to exploit
exploit/multi/http/wp_crop_rce.
I am using Docker, in order to install wordpress version: 4.8.9.
PHP 7.2.12 (cli) (built: Nov 28 2018 22:58:16) ( NTS )
Copyright (c) 1997-20… Continue reading – Exploit aborted due to failure: not-found: Can’t find base64 decode on target

Does it make sense to have the application block users by IP as well as the firewalls?

I am planning to create a system, but I still have some questions about security. I would like to know if it makes sense to block unauthorized users from accessing the system, through the ip, using a PHP script and also firewall rules by A… Continue reading Does it make sense to have the application block users by IP as well as the firewalls?

How to protect client server app if both: client and server – located on client side?

Frontend communicates to backend.
I am a developer of frontend and backend.
I want to protect my app (prohibit end user from using my app without paying).
The only thing I have in mind is to have some middle point, some my server.
Frontend… Continue reading How to protect client server app if both: client and server – located on client side?