-
Notifications
You must be signed in to change notification settings - Fork 69
Installation
Execute the following commands in the root directory of the project:
docker-compose build
docker-compose up -d --scale executions-worker=5
Go to https://127.0.0.1/
Default credentials are
rekono:rekono
. For security reasons, password should be changed the first time you access the account. Moreover default user details can be changed using environment variables.
The number of workers can be changed using
--scale
option. The number ofexecutions-worker
determines the number of tools that could be executed at the same time.
Rekono Desktop is a standalone app that can be easily installed and executed locally. Install it on Kali Linux with this command:
apt install rekono-kbx
If you are using Parrot OS, you can download the Debian package from the Rekono release:
wget https://github.com/pablosnt/rekono/releases/download/1.6.3/rekono-kbx_1.6.3_amd64.deb && dpkg -i rekono-kbx_1.6.3_amd64.deb || apt -f install -y
Default credentials are
rekono:rekono
. For security reasons, password should be changed the first time you access the account
-
Install the required technologies:
- Python 3 & PIP
- Node & NPM
- Vue
- PostgreSQL
- Redis
-
For Kali Linux environments, you need to install the following dependencies:
sudo apt install libpq-dev python3-dev
-
Create the
rekono
database. You can do that withpgAdmin
or with the following commands:create user <db username> with encrypted password '<db password>';` create database rekono; grant all privileges on database rekono to <db username>;
The database credentials should be configured using environment variables or the config.yaml file. See Configuration
-
Install backend requirements:
# pwd: root directory pip3 install -r requirements.txt
-
Install frontend requirements:
# pwd: rekono/frontend npm install
-
Configure environment following this guide
-
Initialize the database:
# pwd: rekono/ python3 manage.py migrate python3 manage.py createsuperuser
-
Deploy the Rekono services:
-
Backend
# pwd: rekono/ python3 manage.py runserver
-
Frontend for development environments
# pwd: rekono/frontend/ npm run serve
-
Frontend for production environments
# pwd: rekono/frontend/ npm install -g serve npm run build serve -s dist
-
RQ workers
# pwd: rekono/ python3 manage.py rqworker --with-scheduler tasks-queue python3 manage.py rqworker executions-queue python3 manage.py rqworker findings-queue python3 manage.py rqworker emails-queue
-
Telegram Bot
# pwd: rekono/ python3 manage.py telegram_bot
-
-
Go to http://127.0.0.1:3000/