Path: blob/master/HOW TO USE/MIRAI-SETUP-DEBIAN-UBUNTU.md
5038 views
Ubuntu and Debian Tutorial
Step 1: System Update and Development Tools Installation
Update the system:
Install development tools and necessary packages:
Step 2: MySQL Installation
Download and install MySQL:
Start and enable MySQL service:
Step 3: Download and Extract Cross Compilers
Create directory for cross-compilers:
Download cross-compilers:
Extract the compilers:
Rename directories:
Clean up tar files:
Step 4: Setting Up Server IP
Modify the following files with your server IP:
bot/includes.h
cnc/main.go
dlr/main.c
loader/src/main.c
scanListen
Step 5: Database Setup
Start MySQL service:
Secure MySQL installation:
Login to MySQL:
Create the database and tables:
Step 6: Compile and Run
Set MySQL password in the
main.go
of the CNC.Change permissions and build:
Start CNC and ScanListen:
Load telnet lists: