2026-04-06 11:09:04 -05:00
2026-04-06 11:09:04 -05:00

Neo

A simple C2 for Matrix homeservers, inspired by DiscordGo

Setup

You'll need an account on a Matrix server to use for the bot.

In src/main.nim, modify the config values with your account and server.

Example config:

const 
    username: string = "neo"
    password: string = "password123"
    server: string = "matrix.org"
    roomId: string = "!bsafgr3AAmy8gHdrcy:matrix.org"
    usePwnboard: bool = true
    pwnboardUrl: string = "https://pwnboard.win/pwn"
    pwnboardToken: string = "pwnboard-token-here"

Building

If it isn't already installed you'll need to install Nim.

# Install dependencies
nimble install strenc

# Compile (outputs to ./neo)
nim c -d:ssl -d:release -o:neo src/main

Bot Usage

Commands:

  • !ping {ip pattern}
  • !command {ip pattern} {command}
  • !kill {ip pattern}

IP pattern example: 10.1.*.4

Description
A simple C2 for Matrix homeservers
Readme 31 KiB
Languages
Nim 100%