Secure web-chat.
The aim of this project is to create a web-chat application, which focuses the users' privacy and security.
OS: Linux Python version: 3.7.3
How to install:
- $ cd directory/of/the/project/
- $ make install (run make file to install requirements) or manually
- $ cd directory/of/the/project/
- $ source bin/activate or $ . bin/activate (run the python virtual environment)
- $ pip install -r requirements.txt or $ pip3 install -r requirements.txt (install python packages from requirements.txt)
- $ wget http://download.redis.io/releases/redis-5.0.7.tar.gz (download and install redis)
- $ tar xzf redis-5.0.7.tar.gz
- $ cd redis-5.0.7
- $ make or $ make MALLOC=libc (make redis)
How to run:
- $ source bin/activate or $ . bin/activate
- $ src/redis-server (run redis server) open a new terminal tab or window
- $ source bin/activate or $ . bin/activate
- $ cd web-chat
- $ python manage.py runserver or $ python3 manage.py runserver (run django server)
- $ python manage.py crontab add or $ python3 manage.py crontab add (run cron jobs)
- Open the 'localhost/8000' in your browser
FIXED:
- [SoS] First attack: /redis-5.0.5 Changed the vulnerable redis-5.0.5 to more secure redis-5.0.7
- [ASU] First Attack: X-XSS-Protection header Added X-XSS-Protection header