Code Monkey home page Code Monkey logo

xzb-1248 / spark Goto Github PK

View Code? Open in Web Editor NEW
1.6K 32.0 446.0 5.06 MB

✨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、跨平台以及多功能的远程控制和监控工具,你可以随时随地监控和控制所有设备。

License: BSD 2-Clause "Simplified" License

Batchfile 1.16% Shell 1.12% Go 63.87% HTML 0.15% CSS 0.43% JavaScript 33.28%
golang rat remote-control remote-administration-tool remote-admin-tool spark server-monitoring dashboard go remote-access-tool

spark's Introduction


Spark

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

We won't collect any data, thus the server will never self-upgrade. Your clients will only communicate with your server forever.


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

Notice

Due to my busy schedule with personal matters and the abuse of this project for cyberattacks, it's going to reach its end of life and will be archived very soon.

I will no longer provide any support for this project, as it is officially abandoned.


Disclaimer

THIS PROJECT, ITS SOURCE CODE, AND ITS RELEASES SHOULD ONLY BE USED FOR EDUCATIONAL PURPOSES.
ALL ILLEGAL USAGE IS PROHIBITED!
YOU SHALL USE THIS PROJECT AT YOUR OWN RISK.
THE AUTHORS AND DEVELOPERS ARE NOT RESPONSIBLE FOR ANY DAMAGE CAUSED BY YOUR MISUSE OF THIS PROJECT.

YOUR DATA IS PRICELESS. THINK TWICE BEFORE YOU CLICK ANY BUTTON OR ENTER ANY COMMAND.

If you found any security vulnerability, please DO NOT open an issue and immediately contact me via email.


Quick start

binary

  • Download executable from releases.
  • Following this to complete configuration.
  • Run executable and browse to http://IP:Port to access the web interface.
  • Generate a client and run it on your target device.
  • Enjoy!

Configuration

Configuration file config.json should be placed in the same directory as the executable file.
Example:

{
    "listen": ":8000",
    "salt": "123456abcdef",
    "auth": {
        "username": "password"
    },
    "log": {
        "level": "info",
        "path": "./logs",
        "days": 7
    }
}
  • listen required, format: IP:Port
  • salt required, length <= 24
    • after modification, you need to re-generate all clients
  • auth optional, format: username:password
    • hashed-password is highly recommended
    • format: $algorithm$hashed-password, example: $sha256$11223344556677AABBCCDDEEFF
    • supported algorithms: sha256, sha512, bcrypt
    • if you don't follow the format, password will be treated as plain-text
  • log optional
    • level optional, possible value: disable, fatal, error, warn, info, debug
    • path optional, default: ./logs
    • days optional, default: 7

Features

Feature/OS Windows Linux MacOS
Process manager
Kill process
Network traffic
File explorer
File transfer
File editor
Delete file
Code highlight
Desktop monitor
Screenshot
OS info
Terminal
* Shutdown
* Reboot
* Log off
* Sleep
* Hibernate
* Lock screen
  • Blank cell means the situation is not tested yet.
  • The Star symbol means the function may need administration or root privilege.

Screenshots

overview

terminal

desktop

procmgr

explorer

overview.cpu

explorer.editor


Development

note

There are three components in this project, so you have to build them all.

Go to Quick start if you don't want to make yourself boring.

  • Client
  • Server
  • Front-end

If you want to make client support OS except linux and windows, you should install some additional C compiler.

For example, to support android, you have to install Android NDK.

tutorial

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


# Here we're going to build front-end pages.
$ cd ./web
# Install all dependencies and build.
$ npm install
$ npm run build-prod


# Embed all static resources into one single file by using statik.
$ cd ..
$ go install github.com/rakyll/statik
$ statik -m -src="./web/dist" -f -dest="./server/embed" -p web -ns web


# Now we should build client.
# When you're using unix-like OS, you can use this.
$ mkdir ./built
$ go mod tidy
$ go mod download
$ ./scripts/build.client.sh


# Finally we're compiling the server side.
$ mkdir ./releases
$ ./scripts/build.server.sh

Then create a new directory with a name you like.
Copy executable file inside releases to that directory.
Copy the whole built directory to that new directory.
Copy configuration file mentioned above to that new directory.
Finally, run the executable file in that directory.


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

  • natpass (MIT License)
  • Image difference algorithm inspired by natpass.

Stargazers over time

Stargazers over time


License

BSD-2 License

spark's People

Contributors

xzb-1248 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spark's Issues

有个小问题

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.1.1

Describe the bug / 问题描述

师傅好,我在使用过程中发现个问题,系统为linux,有流量监控,控制面板使用cpanel,在实际操作中,先后使用该cpanel的两个不同账号登录到cpanel后台,使用cpaenl的termit将spark的client执行,发现在同时该台机器只能够上线一个用户,即:我使用A用户上线到spark后,B用户在spark上的进程就失效。A,B用户所使用的client名不同,所放文件夹位置也不同,不知道是否是个bug,望解答,谢谢。

Reproduction / 复现方式

先后使用该cpanel的两个不同账号登录到cpanel后台,使用cpaenl的termit将spark的client执行,发现在同时该台机器只能够上线一个用户,即:我使用A用户上线到spark后,B用户在spark上的进程就失效。A,B用户所使用的client名不同,所放文件夹位置也不同,不知道是否是个bug,望解答,谢谢。

Logs / 日志

No response

Additional information / 附加说明

No response

Statik

┌──(pentester㉿lab01)-[~/opt/Spark]
└─$ statik -m -src="./built" -f -dest="./server/embed" -include=* -p built -ns built
flag provided but not defined: -include
Usage of statik:

How can i run it in background

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

How can i make it run in background?
i like this rat but it would to more cool if there was option to run in background

Suggested solution / 实现思路

No response

Additional information / 附加说明

No response

Run the client silently

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

I would like to have the client be able to run silently instead of showing a windows pop-up

Suggested solution / 实现思路

Maybe an option on the UI that builds a silent client

Additional information / 附加说明

If you can help me make it myself that would be fine as well in case you didnt have time to make the feature

Run client in background. 在后台运行客户端。

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

The console window does not run it background, theres a console opened while the application is open. When that window is closed, the connection is lost

控制台窗口不在后台运行,应用程序打开时会打开一个控制台。 当该窗口关闭时,连接丢失

image

Suggested solution / 实现思路

Ability to run in it background, silently, to be undetectable

能够在其后台运行,静默,不被察觉

Additional information / 附加说明

No response

https协议考虑

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

client与server之间会考虑支持https协议吗

Suggested solution / 实现思路

No response

Additional information / 附加说明

No response

终端和文件管理加个标签管理

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

一台机器之间,终端、进程查看、文件管理只能同时打开一个
多台机器之间也是只能打开一个,有时需要在另一台机器上执行命令,这台机器的终端就要关掉,看不到之前执行的命令了
有时也会忘了打开的哪个机器的终端或者文件管理

Suggested solution / 实现思路

可以像浏览器一样,终端和文件管理加个标签管理

Additional information / 附加说明

虽然可以打开多个网页,但感觉比较乱

已经解决了

Please make sure of the following things.

  • I have read the documentation.
  • [] 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.2.1

Describe the bug / 问题描述

问题:

Reproduction / 复现方式

Logs / 日志

Additional information / 附加说明

打包成andorid 客户端

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.2.1

Describe the bug / 问题描述

如果在手机上面装这个client 我应该怎么操作呢,我使用了下列方式
1.adb调试 --- not executable: 64-bit ELF file 提示这个错误
2. gomobail 框架打包 --- 这种方式直接闪退

对于这个问题可以出一下教程嘛,或者解决方案,辛苦了

Reproduction / 复现方式

image

Logs / 日志

No response

Additional information / 附加说明

No response

备注

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

有备注需求,因为主机名和IP都不能有效提示我该台主机是哪台。

Suggested solution / 实现思路

可以在生成客户端时添加,或连接后,在功能里添加备注

Additional information / 附加说明

No response

Feature Request: 远程桌面

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

适用于Windows的实时远程桌面功能

Suggested solution / 实现思路

No response

Additional information / 附加说明

No response

建议服务端和前端分离

建议服务端和前端分离,前端部署到无服务器应用,比如部署到cloudflare workers上。增加socks5就更加完美了。

如何手动生成Client?

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

目前Client生成逻辑应该是直接在Build 好的二进制直接修改,我使用Garble编译后就不能正常上线了,能不能手动编译Client?

Suggested solution / 实现思路

No response

Additional information / 附加说明

No response

交互式cmd shell

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

交互式shell比较方便,大多数人应该需要

Suggested solution / 实现思路

No response

Additional information / 附加说明

No response

鼠标与键盘远程桌面

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

好像目前只有远程桌面的画面
还没有实现鼠标与键盘的控制
有打算做吗
如果没有打算做,那我要fork一个来实现

Suggested solution / 实现思路

新增鼠标与键盘控制

Additional information / 附加说明

No response

操作栏自定义默认展示的操作

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

当前操作栏默认显示"终端、文件、进程", 其他操作需要下拉展开后选择; 在我的使用场景中,"进程"一般较少用到,而查看远程桌面则是常用功能;

建议增加一个配置项,把相关操作默认展示在界面上,以便于快速进行需要的操作;

Suggested solution / 实现思路

No response

Additional information / 附加说明

No response

能否让网络流量监控包含Hyper-V虚拟机的流量?

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

Windows里开了几个Hyper-V虚拟机,有监控总流量的需求

希望网络流量的监控能更底层,直接监控接口,这样实时流量就能包含Hyper-V的流量了

图为从电脑往Hyper-V虚拟机(上方网络状态)里复制文件,物理机接口实际上有流量,但监控不到(下方网络状态)

https://i.328888.xyz/2023/03/02/6QPeV.png

Suggested solution / 实现思路

No response

Additional information / 附加说明

No response

期望能够添加 下载远程文件 和 批量执行的功能

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

我这边的场景时爬虫,因为一台一台上传执行太困难,所以找到了这个项目,很惊喜

使用过程中发现了一些问题,所以需要能够批量执行的功能。

期望功能:

  • 终端下载 指定文件 到 指定位置
  • 批量(多终端)启动程序

Suggested solution / 实现思路

No response

Additional information / 附加说明

下面时使用中遇到的问题,可以忽略哈。。

第一个遇到的问题就是 客户端报毒,这个我用了 Linux 下的 upx 加了个壳子绕过了
image

第二个问题是 要批量执行命令,终端机器系统有 win7 的 不能很好的执行 powershell 脚本,遂用了 vbs,
但是吧。。这东西被 杀软报 Downloader 病毒。。

Windows远控生成

生成Windows amd64远控时,提示“该操作系统或架构的客户端未预编译”

Issues with compilation, server runs, but does not properly serve the webpage/interface.

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.2.0

Describe the bug / 问题描述

I was able to compile the binaries and build the webpack, but the server does not properly serve the webpage/interface. Maybe it is my mistake, but I wanted to submit it just in case. Thank you

Reproduction / 复现方式

Build from source using provided scripts and node.js. Generate webpack. Connect to local server. 404 error displays in small text at the top left

Logs / 日志

npm run build-prod 

> [email protected] build-prod
> set NODE_ENV=production | npx webpack --mode production

assets by info 8.56 MiB �[1m�[32m[immutable]�[39m�[22m
  assets by status �[1m�[33m8.15 MiB�[39m�[22m �[1m�[33m[big]�[39m�[22m
    asset �[1m�[33m116.67b5279.js�[39m�[22m �[1m�[33m5.35 MiB�[39m�[22m �[1m�[32m[emitted]�[39m�[22m �[1m�[32m[immutable]�[39m�[22m �[1m�[32m[minimized]�[39m�[22m �[1m�[33m[big]�[39m�[22m (id hint: addon) 1 related asset
    asset �[1m�[33m463.160d4c6.js�[39m�[22m �[1m�[33m2 MiB�[39m�[22m �[1m�[32m[emitted]�[39m�[22m �[1m�[32m[immutable]�[39m�[22m �[1m�[32m[minimized]�[39m�[22m �[1m�[33m[big]�[39m�[22m (id hint: antd) 1 related asset
    asset �[1m�[33m744.2a7e9a5.js�[39m�[22m �[1m�[33m814 KiB�[39m�[22m �[1m�[32m[emitted]�[39m�[22m �[1m�[32m[immutable]�[39m�[22m �[1m�[32m[minimized]�[39m�[22m �[1m�[33m[big]�[39m�[22m (id hint: vendor) 1 related asset
  asset �[1m�[32m454.8a8e2cf.js�[39m�[22m 200 KiB �[1m�[32m[emitted]�[39m�[22m �[1m�[32m[immutable]�[39m�[22m �[1m�[32m[minimized]�[39m�[22m (id hint: react) 1 related asset
  asset �[1m�[32mmain.0512123.js�[39m�[22m 127 KiB �[1m�[32m[emitted]�[39m�[22m �[1m�[32m[immutable]�[39m�[22m �[1m�[32m[minimized]�[39m�[22m (name: main)
  asset �[1m�[32m453.2ffac06.js�[39m�[22m 83.6 KiB �[1m�[32m[emitted]�[39m�[22m �[1m�[32m[immutable]�[39m�[22m �[1m�[32m[minimized]�[39m�[22m (id hint: common)
  asset �[1m�[32mf0e5ea6ae491c36bef3e.svg�[39m�[22m 7.19 KiB �[1m�[32m[emitted]�[39m�[22m �[1m�[32m[immutable]�[39m�[22m [from: src/static/bg.svg] (auxiliary name: main)
  asset �[1m�[32mruntime~main.8126e00.js�[39m�[22m 2.01 KiB �[1m�[32m[emitted]�[39m�[22m �[1m�[32m[immutable]�[39m�[22m �[1m�[32m[minimized]�[39m�[22m (name: runtime~main)
asset �[1m�[33mace.js�[39m�[22m �[1m�[33m360 KiB�[39m�[22m �[1m�[32m[emitted]�[39m�[22m [from: public/ace.js] �[1m�[32m[copied]�[39m�[22m �[1m�[32m[minimized]�[39m�[22m �[1m�[33m[big]�[39m�[22m 1 related asset
asset �[1m�[32mext-modelist.js�[39m�[22m 4.56 KiB �[1m�[32m[emitted]�[39m�[22m [from: public/ext-modelist.js] �[1m�[32m[copied]�[39m�[22m �[1m�[32m[minimized]�[39m�[22m
asset �[1m�[32mindex.html�[39m�[22m 771 bytes �[1m�[32m[emitted]�[39m�[22m
Entrypoint �[1mmain�[39m�[22m �[1m�[33m[big]�[39m�[22m 8.55 MiB (7.19 KiB) = 7 assets 1 auxiliary asset
orphan modules 5.38 MiB �[1m�[33m[orphan]�[39m�[22m 2915 modules
runtime modules 4.91 KiB 11 modules
built modules 12 MiB (javascript) 7.19 KiB (asset) �[1m�[33m[built]�[39m�[22m
  modules by path �[1m./node_modules/�[39m�[22m 11.8 MiB
    cacheable modules 11.8 MiB 966 modules
    modules by path �[1m./node_modules/ace-builds/src-min-noconflict/ sync ^/.//�[39m�[22m 9.08 KiB
      �[1m./node_modules/ace-builds/src-min-noconflict/ sync ^\.\/theme\-.*$�[39m�[22m 2.19 KiB �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m
      �[1m./node_modules/ace-builds/src-min-noconflict/ sync ^\.\/mode\-.*$�[39m�[22m 6.89 KiB �[1m�[33m[optional]�[39m�[22m �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m
  modules by path �[1m./src/�[39m�[22m 279 KiB (javascript) 7.19 KiB (asset)
    javascript modules 269 KiB 18 modules
    json modules 9.59 KiB 2 modules
    �[1m./src/static/bg.svg�[39m�[22m 42 bytes (javascript) 7.19 KiB (asset) �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m
  �[1mdata:image/svg+xml;base64,PHN2ZyB3aWR0aD0i..�[39m�[22m 658 bytes �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m
  �[1m./util.inspect (ignored)�[39m�[22m 15 bytes �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m

�[1m�[33mWARNING�[39m�[22m in �[1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  ace.js (360 KiB)
  463.160d4c6.js (2 MiB)
  116.67b5279.js (5.35 MiB)
  744.2a7e9a5.js (814 KiB)
  744.2a7e9a5.js.gz (247 KiB)
  463.160d4c6.js.gz (364 KiB)
  116.67b5279.js.gz (1.32 MiB)�[39m�[22m

�[1m�[33mWARNING�[39m�[22m in �[1mentrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (8.55 MiB)
      runtime~main.8126e00.js
      454.8a8e2cf.js
      453.2ffac06.js
      463.160d4c6.js
      116.67b5279.js
      744.2a7e9a5.js
      main.0512123.js
�[39m�[22m

�[1m�[33mWARNING�[39m�[22m in �[1mwebpack performance recommendations: 
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/�[39m�[22m

webpack 5.72.0 compiled with �[1m�[33m3 warnings�[39m�[22m in 28892 ms

Additional information / 附加说明

Thank you for your contributions.

使用主机名而不是用户名作为识别客户端的唯一值

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.2.1

Describe the bug / 问题描述

当Windows客户端的用户名相同时,Spark只会识别1个客户端,其他同名客户端会强制被退出; 建议以客户端主机名为唯一值,而不是用户名;

Reproduction / 复现方式

在虚机环境中,使用同用户名的客户机启动client.exe; Spark服务器后端有且只会展示最后一个运行client.exe的客户机;

Logs / 日志

No response

Additional information / 附加说明

No response

ubuntu 22.10无法启动

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

0.2.1

Describe the bug / 问题描述

ubuntu 22.10无法启动

Reproduction / 复现方式

image
image

Logs / 日志

No response

Additional information / 附加说明

No response

linux系统的服务端起不来

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.2.1

Describe the bug / 问题描述

win系统的服务端正常,用linux系统的服务端就是起不来。
linux 是不是有什么前置条件?
1 用的快速部署
2 已经确认配置文件没错。

Reproduction / 复现方式

捕获

Logs / 日志

屏幕截图 2023-03-25 215304

Additional information / 附加说明

No response

The exe doesnt work...

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.2.1

Describe the bug / 问题描述

I'm trying to use the quick way but when i run server_windows_amd64.exe nothing happens i have put the config.json file in the same folder ...

Reproduction / 复现方式

Just run the exe

Logs / 日志

no logs

Additional information / 附加说明

Can someone please guide me with the setup process , add me on discord iLoading#1368

运行终端client客户端会弹出cmd.exe的黑框? 能去掉吗

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

运行终端client客户端会弹出cmd.exe的黑框? 能去掉吗

Suggested solution / 实现思路

No response

Additional information / 附加说明

No response

能不能讲手动编译的教程详细点,或者在Windows编译的方式上修改一下

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

go build -ldflags="-H windowsgui" 使用其去除Windows的黑框

Suggested solution / 实现思路

go build -ldflags="-H windowsgui"

Additional information / 附加说明

go build -ldflags="-H windowsgui"

Web panel inaccessible

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

Latest from github

Describe the bug / 问题描述

The webpanel is inaccessible. I downloaded the server_linux_amd64 file, executed it with a config on port 8001, and the web panel was inaccessible. No errors. nothing popped up. port showed up as closed on a port checker
The port is forwarded

Reproduction / 复现方式

1-Get Spark
2-Run the Spark file
3-View that the web panel is inaccessible

Logs / 日志

No response

Additional information / 附加说明

Fedora server

FEATURE REQUEST FOR SAVED PASSWORDS

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

Collect Saved Passwords from Chrome, Moxilla etc

Suggested solution / 实现思路

No response

Additional information / 附加说明

No response

截屏操作时会出现BitBlt failed异常,请问一下

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.1.2

Describe the bug / 问题描述

CFE7DA33-4759-4B79-A37E-777167D5C72D

Reproduction / 复现方式

客户端连接时间过长时会出现

Logs / 日志

No response

Additional information / 附加说明

No response

无法使用网页关机电脑

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.2.1

Describe the bug / 问题描述

使用Spark网页关闭电脑时,无法进行关闭
image
出现这个提示

Reproduction / 复现方式

网页关机对应电脑

Logs / 日志

系统是
版本	Windows 10 专业工作站版
版本号	22H2
安装日期	‎2023/‎5/‎19
操作系统内部版本	19045.2913
体验	Windows Feature Experience Pack 1000.19041.1000.0

Additional information / 附加说明

No response

Make support for PowerPC (ppc64)

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

How to build server and client support Power PC architure?

Suggested solution / 实现思路

I added lines in ./scripts/build.server.sh

export GOARCH=ppc64
go build -ldflags "-s -w -X 'Spark/server/config.COMMIT=$COMMIT'" -tags=jsoniter -o ./releases/server_linux_ppc64 Spark/server

It was success build but when I run on my ppc64 architure computer, I got error: Illegal instruction
image

Additional information / 附加说明

uname -a
Linux MY-MACHINE-NAME SMP Thu Dec 9 14:27:55 +07 2021 ppc64 ppc64 ppc64 GNU/Linux

增加反向代理的支持

因为服务器有一些限制
我在使用nginx作为反向代理
我想在访问路径/spark时代理给本应用
不知道有没有可能增加这个支持

客户端是windows,服务端查看客户端桌面报错

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.2.1

Describe the bug / 问题描述

客户端是windows,服务端查看客户端桌面报错image

Reproduction / 复现方式

服务端查看客户端的桌面

Logs / 日志

Additional information / 附加说明

linux 远程桌面无画面

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v最新

Describe the bug / 问题描述

生成linux 客户端, 在server端上线后,远程桌面无法正常工作,具体表现是无画面。 windows客户端不会有这个问题

Reproduction / 复现方式

生成Linux客户端,上线-> 桌面功能

Logs / 日志

No response

Additional information / 附加说明

No response

能否增加Bytes/s的网络单位?

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

开发者你好,能否增加Bps(B/s更好)结尾的网络单位?现在的bps实在看不习惯,Server端部署在Windows上,Windows下载电影时,一般是13MB/s这样的单位,看到bps时,感觉很不直观。

实现方式,个人想法,可以再增加一个选项,文本为:网络状态(单位Bps)

如图
https://i.328888.xyz/2023/03/02/6ajkq.jpeg

Suggested solution / 实现思路

No response

Additional information / 附加说明

No response

The OS or Arch is not prebuilt

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.2.1

Describe the bug / 问题描述

When inside the web panel i try to generate client and I get this error "The OS or Arch is not prebuilt" what do i have to do?
https://ibb.co/MNh48fZ

Reproduction / 复现方式

Inside the panel click on generate client and get the error

Logs / 日志

No response

Additional information / 附加说明

No response

Windows 运行失败

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

0.2.1

Describe the bug / 问题描述

[FTAL] 2023/06/07 10:13:03 {"event":"CONFIG_PARSE","msg":"readObjectStart: expect { or n, but found \ufffd, error found in #1 byte of ...|{\r\n "|..., bigger context ...|{\r\n "listen": ":8110",\r\n "salt": "123456ab|...","status":"fail"}

Reproduction / 复现方式

[FTAL] 2023/06/07 10:13:03 {"event":"CONFIG_PARSE","msg":"readObjectStart: expect { or n, but found \ufffd, error found in #1 byte of ...|{\r\n "|..., bigger context ...|{\r\n "listen": ":8110",\r\n "salt": "123456ab|...","status":"fail"}

Logs / 日志

No response

Additional information / 附加说明

No response

增加反向socks5

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure this feature is not implemented.
  • 我确定该功能尚未实现。
  • I'm sure it's a reasonable and popular requirement.
  • 我确定这个需求合理且符合大多数人需要。

Describe the feature / 需求描述

增加反向sock5代理用起来会很方便,完全可以抛弃frp之流的代理工具了。

Suggested solution / 实现思路

No response

Additional information / 附加说明

No response

bind无效

部署在公网服务器,然后设置:"listen": "0.0.0.0:8000",或者"listen": "WAN_IP:8000",都是无效的,导致公网服务访问。

[ERRO] 2023/05/14 07:56:31 Connection error: websocket: bad handshake

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.2.1

Describe the bug / 问题描述

Windows Client 错误,可以正常Ping通
[ERRO] 2023/05/14 07:56:31 Connection error: websocket: bad handshake

Reproduction / 复现方式

直接执行Client.exe

Logs / 日志

[ERRO] 2023/05/14 07:56:31 Connection error: websocket: bad handshake

Additional information / 附加说明

No response

以服务方式运行客户端时,远程屏幕黑屏

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.2.1

Describe the bug / 问题描述

使用winsw在windows 10 上以服务方式运行客户端时,远程屏幕显示为黑屏;而直接双击运行client.exe时是正常的;

Reproduction / 复现方式

winsw.execlient.exewinsw.xml放在同一个目录下;

以下是winsw.xml的配置文件

<service>
  <id>Spark Client</id>
  <name>Spark Client Service</name>
  <description>This service is a service created from a minimal configuration</description>
  <executable>%BASE%\client.exe</executable>
</service>

在目录下执行 winsw.exe installwinsw.exe start 后,服务启动;
通过 web端查看桌面,显示黑屏;

Logs / 日志

No response

Additional information / 附加说明

No response

桌面屏幕查看隔一会就会卡住

Please make sure of the following things.

  • I have read the documentation.
  • 我已阅读 文档
  • I'm sure there are no duplicate issues.
  • 我确定没有提交和他人重复的issue。
  • I'm sure it's due to Spark itself and not my operational issue or something else.
  • 我确定问题由Spark自身引起,不是我自己的操作失误或其他问题。

Version / 版本

v0.1.2

Describe the bug / 问题描述

桌面隔一会就会卡住,重新关闭开启一场又会正常,然后再隔一会又会卡住

Reproduction / 复现方式

桌面隔一会就会卡住

Logs / 日志

No response

Additional information / 附加说明

我一开始以为是服务器的问题,我本地测试了一下也是一样的

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.