mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Obfuscation macros are now defined more easily
This commit is contained in:
@@ -8,7 +8,7 @@ edition = "2024"
|
||||
default = ["log"]
|
||||
log = ["unshell/log"]
|
||||
log_debug = ["unshell/log_debug"]
|
||||
obfuscate = ["unshell/obfuscate"]
|
||||
obfuscate = ["unshell/obfuscate_aes"]
|
||||
|
||||
[dependencies]
|
||||
unshell.path = "../"
|
||||
|
||||
@@ -3,7 +3,7 @@ extern crate unshell;
|
||||
|
||||
use unshell::{
|
||||
Value, info,
|
||||
obfuscate::{junk_asm, symbol},
|
||||
obfuscate::{junk_asm, sym},
|
||||
tree::{Tree, TreeElement, symbols},
|
||||
};
|
||||
|
||||
@@ -25,7 +25,7 @@ fn main() {
|
||||
|
||||
fn test123(manager: &mut Tree) -> bool {
|
||||
let result = manager.send_message(
|
||||
Value::String(symbol!("Logger").to_string()),
|
||||
Value::String(sym!("Logger").to_string()),
|
||||
Value::String(symbols::CMD_GET.to_string()),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user