Linux client build support#59
Open
PaulDotSH wants to merge 89 commits into
Open
Conversation
fix webcam capture when no webcam is available
…the write stream for whatever reason) (still doesn't make any sens of the cpu usage spike) - Fixes #23
added country flags
update client deps
add upload and execute, upload, execute to file manager
tauri v2 working
… also fixed some issue with the clients table not being responsive for a more clients than the full table height
…countries / client binary); Now you can also release for production (Read USERMANUAL.md)
…roduction; Also fixed countries.mmdb path;
There was a problem hiding this comment.
Pull Request Overview
This pull request adds Linux client build support and separates platform-specific code for Windows and Linux in various modules. Key changes include adding a dedicated Linux module, conditionally compiling features for different platforms, and updating the dependency management in Cargo.toml.
Reviewed Changes
Copilot reviewed 38 out of 38 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| client/src/platform/mod.rs | Introduces conditional exports for Windows and Linux platforms. |
| client/src/platform/linux.rs | Implements Linux-specific platform functions. |
| client/src/main.rs | Updates conditional tray icon usage and DPI awareness for each OS. |
| client/src/handler.rs | Adds debugging output when sending client info. |
| client/src/features/reverse_shell.rs | Adds Unix support for reverse shell functionality. |
| client/src/features/remote_desktop.rs | Splits remote desktop functionality into Windows and Unix sections. |
| client/src/features/process.rs | Provides platform-specific process control implementations. |
| client/src/features/other.rs | Modularizes functions like open_url and set_dpi_aware per platform. |
| client/src/features/mod.rs | Adjusts module inclusions to separate Windows and Unix implementations. |
| client/src/features/fun/desktop_fun.rs | Revises desktop interaction functions with conditional logic. |
| client/src/features/fun/audio_fun.rs | Adds Unix implementations for audio functionalities. |
| client/src/features/collectors/*.rs | Implements collectors (unique, system, security, gpu, drives, displays, cpu, bios) with conditional logic. |
| client/Cargo.toml | Updates target-specific dependency management and removes duplicate winapi entries. |
Comments suppressed due to low confidence (1)
client/src/features/reverse_shell.rs:105
- Replace unwrap() when spawning the shell with proper error handling to prevent panics if 'bash' is not available.
.spawn().unwrap()
Collaborator
Author
|
@pathetic pls review & merge since I wont implement the rest, at least not atm |
Collaborator
Author
|
Install option could be done by changing the shell to auto start the binary |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Current enabled features:
Not working
Untested:
Features relating to desktop images not tested on wayland yet.
Other features are returning none or doing nothing at the moment.
Windows building support might be broken and needs to be changed since the previous system only worked on windows, used powershell.
To test these changes run
cargo run -p servercargo run -p clientin 2 different terminals.
TODO: Test install with sudo user