Volver al ranking

XZB-1248/Spark

Go

✨Spark is a web-based, cross-platform and full-featured Remote Administration Tool (RAT) written in Go that allows you control all your devices anywhere. Spark是一个Go编写的,网页UI、跨平台以及多功能的远程控制和监控工具,你可以随时随地监控和控制所有设备。

golangratremote-controlremote-administration-toolremote-admin-toolsparkserver-monitoringdashboardgoremote-access-toolshellwebshell
Crecimiento de estrellas
Estrellas
2.4k
Forks
582
Crecimiento semanal
Issues
22
2.4k
18 jul19 jul19 jul20 jul
ArtefactosGo Modulesgo get github.com/XZB-1248/Spark
README

[English] [中文] [API Document] [API文档]


Spark Spark

Spark is a free, safe, open-source, web-based, cross-platform, and full-featured RAT (Remote Administration Tool) that allows you to control all your devices via browser anywhere.

No data collection: Spark does not collect any user information.
No auto-updates: The server will not update itself.
Direct communication: Clients communicate exclusively with your server.


GitHub repo size GitHub issues GitHub closed issues
GitHub downloads GitHub release (latest by date)

⚠️ Disclaimer

THIS PROJECT, ITS SOURCE CODE, AND RELEASES SHOULD ONLY BE USED FOR EDUCATIONAL PURPOSES.

Illegal usage is strictly prohibited.
Authors and developers are not responsible for any misuse.
Use it at your own risk.

If you find security vulnerabilities, do not open an issue. Contact me immediately via email.


🚀 Quick Start

Binary Execution

  1. Download the executable from the releases page.
  2. Follow the Configuration instructions.
  3. Run the executable and access the web interface at http://IP:Port.
  4. Generate a client and run it on the target device.
  5. Start managing your devices!

⚙️ Configuration

The configuration file config.json should be in the same directory as the executable.

Example:

{
    "listen": ":8000",
    "salt": "123456abcdef123456", 
    "auth": {
        "username": "password"
    },
    "log": {
        "level": "info",
        "path": "./logs",
        "days": 7
    }
}

Main Parameters:

  • listen (required): Format IP:Port.
  • salt (required): Max length 24 characters. After modification, all clients need to be regenerated.
  • auth (optional): Authentication credentials (username:password).
    • Hashed passwords are recommended ($algorithm$hashed-password).
    • Supported algorithms: sha256, sha512, bcrypt.
  • log (optional): Logging configuration.
    • level: disable, fatal, error, warn, info, debug.
    • path: Log directory (default: ./logs).
    • days: Log retention days (default: 7).

🛠️ Features

Feature/OS Windows Linux MacOS
Process Manager
Kill Process
Network Traffic
File Explorer
File Transfer
File Editor
Delete File
Code Highlighting
Desktop Monitor
Screenshot
OS Info
Remote Terminal
* Shutdown
* Reboot
* Log Off
* Sleep
* Hibernate
* Lock Screen

🚨 Functions marked with * may require administrator/root privileges.


📸 Screenshots

overview
terminal
desktop
proc_mgr
explorer
overview.cpu
explorer.editor


🔧 Development

Components

This project consists of three main components:

  • Client
  • Server
  • Front-end

For OS support beyond Linux and Windows, additional C compilers may be required. For example, to support Android, install Android NDK.

Build Guide

# Clone the repository
git clone https://github.com/XZB-1248/Spark
cd ./Spark

# Build the front-end
cd ./web
npm install
npm run build-prod

# Embed static resources
cd ..
go install github.com/rakyll/statik
statik -m -src="./web/dist" -f -dest="./server/embed" -p web -ns web

# Build the client
mkdir ./built
go mod tidy
go mod download
./scripts/build.client.sh

# Build the server
mkdir ./releases
./scripts/build.server.sh

Custom Features

If you need to customize some features, please contact me via i@1248.ink.


Dependencies

Spark contains many third-party open-source projects.

Lists of dependencies can be found at go.mod and package.json.

Some major dependencies are listed below.

Back-end

Front-end

Acknowledgements

VPS.Town


Stargazers over time

Stargazers over time


📜 License

Distributed under the BSD-2 License.

Repositorios relacionados
practical-tutorials/project-based-learning

Curated list of project-based tutorials

PythonPyPIMIT Licensetutorialproject
274.4k35.4k
avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

GoGo ModulesMIT Licensegolanggolang-library
awesome-go.com
178.7k13.4k
ollama/ollama

Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

GoGo ModulesMIT Licensellamallm
ollama.com
176.5k17k
golang/go

The Go programming language

GoGo ModulesBSD 3-Clause "New" or "Revised" Licenseprogramming-languagelanguage
go.dev
135.3k19.3k
caddyserver/caddy

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

GoGo ModulesApache License 2.0goweb-server
caddyserver.com
74.2k4.8k
unionlabs/union

The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

Rustcrates.ioApache License 2.0blockchaincosmos
union.build
73.9k3.9k
moby/moby

The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

GoGo ModulesApache License 2.0dockercontainers
mobyproject.org
71.9k19k
nektos/act

Run your GitHub Actions locally 🚀

GoGo ModulesMIT Licensegithub-actionsgolang
nektosact.com
71.1k2k
traefik/traefik

The Cloud Native Application Proxy

GoGo ModulesMIT Licensemicroservicedocker
traefik.io
64.1k6.1k
santifer/career-ops

Open-source AI job search: scan job portals, score listings A-F, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Gemini, Codex, OpenCode…)

JavaScriptnpmMIT Licenseai-agentanthropic
career-ops.org
60.8k12k
pocketbase/pocketbase

Open Source realtime backend in 1 file

GoGo ModulesMIT Licenseauthenticationbackend
pocketbase.io
60.1k3.6k
rclone/rclone

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

GoGo ModulesMIT Licensegolanggo
rclone.org
58.5k5.2k