This website was made as a test for the potential core members of the cybersecurity club of IIT Bhilai. This test includes studying endpoints, requests and having knowledge of basic SQL injection.
- ExpressJS
- EJS
Made using EJS templating engine for JavaScript. The EJS templates with variables and their values are rendered by the backend server.
Multiple endpoints serve different EJS templates. The SQL database used is SQLite. The parametric expressions are not used for SQL queries as it treats all input as data, checking SQL injection. Instead, template strings are used.
- Install the latest version of Node.js from
nodejs.org
- Clone this repo in your computer using
git clone https://github.com/sparky0520/cybersec_testing.git
. - In the terminal type
npm i
to install all dependencies/node modules. - Type
node index.js
to run the server. - View your webpage on
http://localhost:3000