With commercialization comes the enshitification of community editions, and this is equally true for Evilginx sadly. They have made it very clear in their documentation that they no longer want to make it obvious for users to install without paying so here are my installation notes for those who follow.
Info
My install was performed on a VPS running Debian 12. YMMV if you are using a different distro
This guide covers software installation only. The official Evilginx documentation for domain setup is adequate
Prior to installing Evilginx I completed some basic server setup work that you can find here
- Install prerequisite packages
apt install git make golang tmux
Note
The
tmuxpackage is not required for the install but is highly recommended for running the service so I have included it here
- Clone the git repository at the latest stable tag (3.3.0 at time of writing)
git clone --depth 1 --branch v3.3.0 https://github.com/kgretzky/evilginx2.git
- Build the software
cd evilginx2
make
- Create a directory for the Evilginx binary and configurations
mkdir ~/evilginx
- Copy the binary and necessary directories to the application folder
cp ./build/evilginx ~/evilginx
cp -r ./phishlets/ ~/evilginx
cp -r ./redirectors/ ~/evilginx
- Make sure everything is executable
chmod 700 ~/evilginx
From here you can move on to configuration