2026-02-09 10:27:15 -07:00
|
|
|
cargo-features = ["trim-paths"]
|
|
|
|
|
|
2026-04-20 23:38:02 -06:00
|
|
|
# =============================================================================
|
|
|
|
|
# ush-payload — The UnShell Implant Binary
|
|
|
|
|
# =============================================================================
|
|
|
|
|
#
|
|
|
|
|
# This binary runs on the target machine. It:
|
|
|
|
|
# 1. Connects to the router over TCP (reverse connection).
|
|
|
|
|
# 2. Completes the handshake, registering its modules.
|
|
|
|
|
# 3. Runs a recv loop, routing incoming TreeRequests to local Endpoints.
|
|
|
|
|
#
|
|
|
|
|
# Build with:
|
|
|
|
|
# cargo build --profile minimize -p ush-payload
|
|
|
|
|
#
|
|
|
|
|
# The minimize profile strips symbols and optimises for binary size.
|
|
|
|
|
|
2026-02-09 10:27:15 -07:00
|
|
|
[package]
|
2026-04-20 23:38:02 -06:00
|
|
|
name = "ush-payload"
|
|
|
|
|
version.workspace = true
|
|
|
|
|
edition.workspace = true
|
|
|
|
|
description = "UnShell implant binary"
|
2026-02-09 10:27:15 -07:00
|
|
|
|
|
|
|
|
[features]
|
2026-04-20 23:38:02 -06:00
|
|
|
default = ["log", "tcp"]
|
|
|
|
|
log = ["unshell/log"]
|
|
|
|
|
log_debug = ["unshell/log_debug"]
|
|
|
|
|
tcp = ["unshell/tcp"]
|
|
|
|
|
obfuscate = ["unshell/obfuscate_ref"]
|
2026-02-09 10:27:15 -07:00
|
|
|
|
|
|
|
|
[dependencies]
|
2026-04-20 23:38:02 -06:00
|
|
|
unshell = { workspace = true }
|
|
|
|
|
rkyv = { workspace = true }
|
|
|
|
|
|
|
|
|
|
[lints]
|
|
|
|
|
workspace = true
|