1
0
mirror of https://github.com/boku7/Loki synced 2026-06-06 15:24:27 +00:00
Files
2025-04-03 12:54:39 -07:00

859 B

macOS Agent Build Instructions

I don't recommend this unless you're going to figure out Script Jacking, but if you want to anyways heres how to compile the agent on macOS. Also without Script Jacking the agent will be unsigned and not distributable. Its possible to get it signed but that is not the purpose of this.

  • Install Node JS
brew install node
  • Install Electron Globally
npm install -g electron
  • Build the agent and get the required node mondules from Node Package Manager
cd LokiC2/agent/
npm install
  • Start the GUI client in devmode (Optional)
cd LokiC2/agent/
npx electron .
  • Install the Electron Builder
cd LokiC2/agent/
npm install --save-dev electron-builder
  • Build the GUI client app
npm run dist
  • The Loki C2 Agent.app will be in LokiC2/agent/dist/