Skip to content

Conversation

@PaulDotSH
Copy link
Collaborator

@PaulDotSH PaulDotSH commented Jun 16, 2025

Current enabled features:

  • Basic connection
  • pc name
  • Type (user/admin)
  • os
  • machine name
  • model
  • manufacturer
  • bios info (when running as root)
  • hardware info (cpu, gpu, ram)
  • storage (mounts, not only actual disks)
  • mac address
  • volume serial
  • firewall detection
  • av detection
  • list processes
  • process kill
  • visit website
  • file manager
  • file manager download
  • file manager upload
  • file manager delete
  • file manager execute
  • remote desktop basic
  • screenshot
  • UAC
  • Install
  • Mutex

Not working

  • Messagebox
  • Inputbox
  • remote shell
  • All "fun" features
  • remote desktop send mouse
  • remote desktop send keyboard
  • Webcam
  • Anti VM
  • Assembly
  • Build client

Untested:

  • Reverse proxy
  • System shutdown/reboot
  • Icon
  • Attended mode

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 server
cargo run -p client
in 2 different terminals.

TODO: Test install with sudo user

@PaulDotSH PaulDotSH requested a review from Copilot June 16, 2025 00:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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()

@PaulDotSH
Copy link
Collaborator Author

@pathetic pls review & merge since I wont implement the rest, at least not atm

@PaulDotSH
Copy link
Collaborator Author

Install option could be done by changing the shell to auto start the binary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants