Skip to content

Latest commit

 

History

171 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Save My Secrets

Save My Secrets is a single page application made with React and Node/Express to research the vulnerabilites around websites and around password safety. We will be incrementally securing the Save My Secrets web application with each release by performing a penetration test and creating a write-up for that specific version. We intend to use the tools in Kali linux and prevalent tools to gain and exploit passwords. Feel free to checkout our current live sites and play around in those environments. Happy Hacking!

Instructions to run this app locally

(Note: you must have node v.14.15.4+ and mariadb v10.3.27+ on your system to run this project locally. The following instructions are for a unix based system.)

Front end instructions

  • Navigate to the front-end directory.
  • Run npm install.
  • Run npm start. The webapp should now be running on localhost:3000.

Back end instructions

  • Navigate to the back-end directory.
  • Run npm install.
  • Run npm start. The server should now be listening on localhost:4000.

Database instructions

  • Run mariadb to start its CLI tool in the back-end directory.
  • Create a local database by running CREATE DATABASE <DB_NAME>;, where DB_NAME is your choice of name.
  • Be sure that <username> has privileges on the database specified by <DB_NAME>. You can read more about granting privileges in the MariaDB documentation here.
  • Run mariadb -u <username> -p <DB_NAME> < database/db.sql to populate <DB_NAME> with mock data.
  • Still in the back-end directory, create a file config/default.json. The contents should be as follows:
{
  "db": {
    "host": "localhost",
    "port": "<portNumber>",
    "username": "<username>",
    "password": "<password>",
    "databaseName": "<DB_NAME>",
    "connectionLimit": 10
  }
}
  • Here, <portNumber> should be the port that your local database server is on. You can double check this by querying SHOW GLOBAL VARIABLES LIKE 'PORT'; in the MariaDB CLI.

Penetration Test Reports

Save My Secrets Poster

alt text

Save My Secrets Final Report

Final Report

Note

  • Due to time constraints we did not properly setup a web server to serve our React production code
  • Production deployments were setup on Google Cloud Platform with Ubuntu VM instances during the spring term (01/20 - 03/20), but they are no longer available due to fiscal constraints and policy issues with Google.

About

web app for 467 group project

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages