mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Make unshell-obfuscate into a re-export
This commit is contained in:
Generated
+1
-2
@@ -3928,6 +3928,7 @@ dependencies = [
|
|||||||
"chrono",
|
"chrono",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
|
"unshell-crypt",
|
||||||
"unshell-obfuscate",
|
"unshell-obfuscate",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -3973,7 +3974,6 @@ dependencies = [
|
|||||||
"libloading",
|
"libloading",
|
||||||
"rand 0.9.2",
|
"rand 0.9.2",
|
||||||
"unshell",
|
"unshell",
|
||||||
"unshell-obfuscate",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -4006,7 +4006,6 @@ dependencies = [
|
|||||||
"toml",
|
"toml",
|
||||||
"unshell",
|
"unshell",
|
||||||
"unshell-manager",
|
"unshell-manager",
|
||||||
"unshell-obfuscate",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|||||||
+16
@@ -1,3 +1,5 @@
|
|||||||
|
cargo-features = ["trim-paths"]
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "unshell"
|
name = "unshell"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
@@ -26,6 +28,7 @@ serde = { workspace = true }
|
|||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
|
|
||||||
unshell-obfuscate = {path = "./unshell-obfuscate"}
|
unshell-obfuscate = {path = "./unshell-obfuscate"}
|
||||||
|
unshell-crypt = {path = "./unshell-crypt"}
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
####
|
####
|
||||||
@@ -40,6 +43,19 @@ toml = "0.9.9"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
strip = true # Strip symbols from the binary
|
||||||
|
opt-level = "z" # Optimize for size
|
||||||
|
lto = true # Link tree optimization
|
||||||
|
codegen-units = 1
|
||||||
|
panic = "abort"
|
||||||
|
debug = false # Remove debug
|
||||||
|
trim-paths="all"
|
||||||
|
|
||||||
|
# Optimize all dependencies even in debug builds:
|
||||||
|
[profile.dev.package."*"]
|
||||||
|
opt-level = 2
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------------
|
||||||
# Lints:
|
# Lints:
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,10 @@ pub use error::{ModuleError, Result};
|
|||||||
|
|
||||||
pub use announcement::Announcement;
|
pub use announcement::Announcement;
|
||||||
|
|
||||||
|
// Re-exports
|
||||||
|
pub use unshell_crypt;
|
||||||
|
pub use unshell_obfuscate;
|
||||||
|
|
||||||
// pub trait Component {
|
// pub trait Component {
|
||||||
// fn name(&self) -> &'static str;
|
// fn name(&self) -> &'static str;
|
||||||
// // fn start_runtime(&self, manager: Arc<Mutex<Manager>>) -> Option<Box<dyn ModuleRuntime>>;
|
// // fn start_runtime(&self, manager: Arc<Mutex<Manager>>) -> Option<Box<dyn ModuleRuntime>>;
|
||||||
|
|||||||
@@ -46,22 +46,3 @@ egui-async = "0.2.6"
|
|||||||
wasm-bindgen-futures = "0.4.50"
|
wasm-bindgen-futures = "0.4.50"
|
||||||
wasm-bindgen = "0.2.106"
|
wasm-bindgen = "0.2.106"
|
||||||
web-sys = {version = "0.3.70", features = ['Headers', 'Request', 'RequestInit', 'RequestMode', 'Response', 'Window']}
|
web-sys = {version = "0.3.70", features = ['Headers', 'Request', 'RequestInit', 'RequestMode', 'Response', 'Window']}
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
opt-level = 2 # fast and small wasm
|
|
||||||
# lto = true
|
|
||||||
|
|
||||||
# Optimize all dependencies even in debug builds:
|
|
||||||
[profile.dev.package."*"]
|
|
||||||
opt-level = 2
|
|
||||||
|
|
||||||
|
|
||||||
[patch.crates-io]
|
|
||||||
|
|
||||||
# If you want to use the bleeding edge version of egui and eframe:
|
|
||||||
# egui = { git = "https://github.com/emilk/egui", branch = "main" }
|
|
||||||
# eframe = { git = "https://github.com/emilk/egui", branch = "main" }
|
|
||||||
|
|
||||||
# If you fork https://github.com/emilk/egui you can test with:
|
|
||||||
# egui = { path = "../egui/crates/egui" }
|
|
||||||
# eframe = { path = "../egui/crates/eframe" }
|
|
||||||
|
|||||||
@@ -6,14 +6,13 @@ edition = "2024"
|
|||||||
log = ["unshell/log"]
|
log = ["unshell/log"]
|
||||||
log_debug = ["log", "unshell/log_debug"]
|
log_debug = ["log", "unshell/log_debug"]
|
||||||
|
|
||||||
obfuscate = ["unshell-obfuscate/obfuscate"]
|
obfuscate = ["unshell/obfuscate"]
|
||||||
|
|
||||||
# client = ["unshell-lib/client"]
|
# client = ["unshell-lib/client"]
|
||||||
# server = ["unshell-lib/server"]
|
# server = ["unshell-lib/server"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
unshell = {path = "../", default-features = false}
|
unshell = {path = "../", default-features = false}
|
||||||
unshell-obfuscate = {path = "../unshell-obfuscate"}
|
|
||||||
|
|
||||||
bincode = "2.0.1"
|
bincode = "2.0.1"
|
||||||
libc = "0.2.178"
|
libc = "0.2.178"
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ use std::{
|
|||||||
time::Duration,
|
time::Duration,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
use unshell::unshell_obfuscate::symbol;
|
||||||
use unshell::{Result, config::RuntimeConfig, debug, warn};
|
use unshell::{Result, config::RuntimeConfig, debug, warn};
|
||||||
use unshell_obfuscate::symbol;
|
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
ModuleRuntime,
|
ModuleRuntime,
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
cargo-features = ["trim-paths"]
|
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "unshell-payload"
|
name = "unshell-payload"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|||||||
@@ -9,9 +9,8 @@ log = ["unshell/log", "unshell-manager/log"]
|
|||||||
log_debug = ["log", "unshell/log_debug", "unshell-manager/log_debug"]
|
log_debug = ["log", "unshell/log_debug", "unshell-manager/log_debug"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
unshell = {path = "../", default-featues = false}
|
unshell = { path = "../" }
|
||||||
unshell-obfuscate = {path = "../unshell-obfuscate", default-featues = false}
|
unshell-manager = { path = "../unshell-manager" }
|
||||||
unshell-manager = {path = "../unshell-manager", default-featues = false}
|
|
||||||
|
|
||||||
chrono = { workspace = true }
|
chrono = { workspace = true }
|
||||||
toml = { workspace = true }
|
toml = { workspace = true }
|
||||||
@@ -28,19 +27,3 @@ tokio = {version="1.48.0", features = ["full"] }
|
|||||||
|
|
||||||
jsonwebtoken = {version = "10.2.0", features = ["aws_lc_rs"]}
|
jsonwebtoken = {version = "10.2.0", features = ["aws_lc_rs"]}
|
||||||
bcrypt = "0.17.1"
|
bcrypt = "0.17.1"
|
||||||
|
|
||||||
# clap = {version = "4.5.53", features = ["derive"]}
|
|
||||||
# axum = "0.8.7"
|
|
||||||
# axum-extra = {version="0.12.2", features = ["typed-header"]}
|
|
||||||
# tokio = {version="1.48.0", features = ["full"] }
|
|
||||||
|
|
||||||
# serde = {version = "1.0.228", features = ["derive"]}
|
|
||||||
# serde_json = "1.0.145"
|
|
||||||
# chrono = "0.4.42"
|
|
||||||
# static_init = "1.0.4"
|
|
||||||
# toml = "0.9.9"
|
|
||||||
|
|
||||||
# jsonwebtoken = {version = "10.2.0", features = ["aws_lc_rs"]}
|
|
||||||
# bcrypt = "0.17.1"
|
|
||||||
|
|
||||||
# sled = "0.34.7"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user