I'm doing a project as freelancing and it has been a month and I want to make sure I will get paid once the project is finish. I would like to guarantee that the whole website is deleted or just the views folder and controllers and assets. I know this sounds a bit malicious but it's my first freelancing job and I am scared I have been wasting my time. The project is hosted on the client online shared host and I constantly update it. Anyone know what can I do?
You can create an admin user for yourself behind the scenes, I main not in the database table, just save the username and password in a file and check special condition for that specific user, Then you can login to the system by that username and password, then in somewhere create a query by running that query first get a backup of database and then drop the database.
routes/web.php
file. Create a web2.php, an unreachable route in web.php and an artisan command. That route triggers the command that deletes web.php and renames web2.php to web.php where all links route to an 'under construction' page. Anybody who knows Laravel can reverse engineer a lot. But not the routes. Good luck with that one! – Dimitri Mostrey Sep 19 '20 at 6:45