Create an insecure bank application

This commit is contained in:
2024-06-01 15:13:50 +02:00
commit 2133574cae
40 changed files with 1370 additions and 0 deletions

9
README.md Normal file
View File

@@ -0,0 +1,9 @@
# Setup
- Use a typical Webserver + PHP + SQL setup
- Initialize the database with the instructions from `db-init.sql`
- Copy the `webroot` directory onto the webserver
- Inside `webroot`, copy `config.sample.php` to `config.php` and enter the SQL credentials
- Register on the webpage to get your own account
- Make yourself an admin:
Using an SQL management software, set the `admin` field to `1` in the entry of the table `user` that corresponds to your account.