Skip to content

A very unsecure database that uses files. (only used for learning)

License

Notifications You must be signed in to change notification settings

PlOszukiwaczDEV/fileDB

Repository files navigation

fileDB

GitHub commit activity GitHub last commit

A very unsecure database that uses files.

File structure

  • /db - The source code for the database.
  • /clients - A example clients for the database. (Not finished)

Setup

Windows and Linux

  1. Download bun
  2. Run cd db
  3. Run bun install

Running the database

  1. Navigate to the /db folder.
  2. Run the command bun index.js.

Expected Outputs

  • A file named .env will be created containing:
    • AES Key
    • AES IV
    • AES Algorithm
  • A folder named /databases will be created containing two files:
    • info.json: Contains public information such as rank, flag, and avatar (as numbers).
    • passwords.json: Contains AES encrypted SHA-256 hashes of passwords.

ToDo

  • Example Client
  • Gui Database Editor
  • Gui Editor

License

License: CC0 1.0 Universal

About

A very unsecure database that uses files. (only used for learning)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages