Requirements
cPanel/WHM installed on a supported OS (CentOS, CloudLinux, AlmaLinux, Rocky Linux, etc.);
Root SSH access;
BitNinja license (You can order it here).
Installation
1. Make sure BitNinja agent is installed
If you haven’t already installed the BitNinja agent, run:
curl -sSL https://get.bitninja.io/install.sh | sh
This will install the agent on your server (You’ll need your BitNinja license key during setup.).
2. Install the WHM plugin
Once the agent is installed, run:
bitninjacli --module=WhmModule --action=install
This command will:
Download the WHM/cPanel plugin
Integrate it into your WHM interface
3. Verify installation
Log in to WHM as root
and look for:
📂 Plugins → BitNinja
You should see the BitNinja dashboard, where you can:
View attack logs
Enable/disable modules
Manage your server protection
4. Uninstall (if needed)
If you want to remove the WHM plugin:
bitninjacli --module=WhmModule --action=uninstall