Create an insecure bank application
This commit is contained in:
9
README.md
Normal file
9
README.md
Normal 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.
|
||||
Reference in New Issue
Block a user