- Huang Weijie
- Keloysius Mak
- Lim Haw Jia
- Shawn Chew
This is a deliberately vulnerable web application, created with the intention of teaching cybersecurity beginners the basics of XSS and Injection Attacks.
The live-hosted application can be found here
DISCLAIMER: Duck DNS may not accessible from within the NUS network
-
If using Docker (recommended):
-
Run
docker-compose up --build
-
Access the website at
localhost:80
-
-
Without Docker:
-
Run a PostgreSQL database locally.
-
Apply the SQL in
db/schema.sql
to the Postgres database. The application will connect to the defaultpostgres
database. -
Run
npm i
to install dependencies if it is the first time running the project. -
Run
npm run build
. -
Run the following command to start the server.
PGUSER=readonly_user \ PGHOST=localhost \ PGPASSWORD=very_insecure_password \ PGDATABASE=postgres \ PGPORT=<YOUR_POSTGRES_PORT> npm run start
-
Access the website at
localhost:3000
-