你好 @k8gege,
目前Ladon主要依赖.NET Framework,这在某些场景下会带来部署上的限制:
- 目标机器可能没有安装.NET Framework运行库
- Linux和macOS上无法直接运行
- 需要在目标上安装依赖,增加了暴露风险
建议:迁移到.NET 8并使用AOT(Ahead-of-Time)编译
.NET 8的AOT编译可以生成完全原生的单文件可执行程序(大约1MB左右),具有以下优势:
- 零依赖:目标机器不需要任何运行时
- 跨平台:一份代码可以编译为Windows/Linux/macOS原生二进制
- 启动更快:没有JIT预热开销
- 内存占用更低:适合内存有限的植入环境
迁移路径建议:
- 逐步将现有模块适配到.NET 8的API
- 使用
PublishAot=true发布测试
- 对于依赖COM或特定Windows P/Invoke的模块,保留.NET Framework版本作为兼容性分支
这是一个比较大的工程,但如果能实现,Ladon将成为第一个真正的跨平台262模块killchain框架。请问你对这个方向有什么看法?
[English Translation / 英文摘要]
Hi maintainers, this issue is a feature / architecture / security suggestion for 02_Ladon.
The Chinese text above contains the detailed proposal with technical context and implementation ideas.
In summary: we are requesting the enhancement described above and would be happy to provide PRs or further discussion in either Chinese or English.
Thank you for the excellent work on this project!
你好 @k8gege,
目前Ladon主要依赖.NET Framework,这在某些场景下会带来部署上的限制:
建议:迁移到.NET 8并使用AOT(Ahead-of-Time)编译
.NET 8的AOT编译可以生成完全原生的单文件可执行程序(大约1MB左右),具有以下优势:
迁移路径建议:
PublishAot=true发布测试这是一个比较大的工程,但如果能实现,Ladon将成为第一个真正的跨平台262模块killchain框架。请问你对这个方向有什么看法?
[English Translation / 英文摘要]
Hi maintainers, this issue is a feature / architecture / security suggestion for 02_Ladon.
The Chinese text above contains the detailed proposal with technical context and implementation ideas.
In summary: we are requesting the enhancement described above and would be happy to provide PRs or further discussion in either Chinese or English.
Thank you for the excellent work on this project!