How to Install Olaris on Kali Linux

Olaris is an open-source offensive security tool used for reconnaissance and information gathering. In this tutorial, we will guide you through the installation process of Olaris server on Kali Linux latest.

Prerequisites

Before you start with the installation process, make sure that you have the following requirements:

Step 1: Clone the Repository

The first step is to clone the Olaris repository using the following command:

$ git clone https://gitlab.com/olaris/olaris-server.git

Step 2: Install Required Dependencies

Next, we need to install some required packages and dependencies to run the Olaris server. Run the following command to install them:

$ sudo apt-get update
$ sudo apt-get install python3 python3-pip python3-nmap python3-psycopg2 postgresql postgresql-contrib

Step 3: Setup PostgreSQL

After installing PostgreSQL, we need to create a new database and user for the Olaris server. Use the following commands to create a new database and user:

$ sudo -u postgres psql
postgres=# CREATE DATABASE olarisdb;
postgres=# CREATE USER olarisuser WITH ENCRYPTED PASSWORD 'password';
postgres=# GRANT ALL PRIVILEGES ON DATABASE olarisdb TO olarisuser;

Replace the password with your desired password for the user.

Step 4: Install Python Dependencies

After setting up PostgreSQL, we need to install Python dependencies. Navigate to the Olaris directory and run the following command:

$ cd olaris-server
$ sudo pip3 install -r requirements.txt

Step 5: Setup Environment Variables

Finally, we need to set up the environment variables for the Olaris server.

Use the following command to create and edit the .env file:

$ nano .env

Add the following lines to the .env file:

SECRET_KEY=your_secret_key
DATABASE_URL=postgresql://olarisuser:password@localhost/olarisdb

Replace the your_secret_key with your desired secret key for the Olaris server, and password with the password you set for the PostgreSQL user.

Step 6: Run Olaris Server

Finally, we are ready to run the Olaris server. Use the following command to start the server:

$ python3 manage.py runserver

Open your web browser and go to the following URL to access the Olaris server:

http://localhost:8000/

Conclusion

In this tutorial, we have successfully installed Olaris on Kali Linux. You can now use the Olaris security tool to perform reconnaissance and information gathering.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!