Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Installation

Matt Creel edited this page Jan 8, 2022 · 8 revisions

Installing Redlure Worker

Redlure workers require Python3.8 and pipenv is used to manage dependencies. Workers require root privileges to run. To install a worker on your system run the following commands:

git clone https://github.com/redlure/redlure-worker.git
cd redlure-worker
sudo ./install.sh
sudo pipenv run ./redlure-worker.py

Note: The worker API runs within the virtual environment, but the Flask apps used to host phishing sites do not. Several Python dependencies utilized by the phishing sites will be installed outside of the virtual environment.

Configuration

Make changes to config.py:

  • set API_KEY to the value generated by the Redlure Server in the web interface
  • set CERT_PATH and KEY_PATH to custom SSL certificates. Self-signed certs will be generated on startup otherwise.
  • Set WORKER_PORT to the port the worker will use on startup
  • Set SERVER_IP to the IP address of your Redlure Server
  • Set SERVER_PORT to the port your Redlure Server is listening on
Clone this wiki locally