mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Add descriptions to projects, remove testproj
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
### Functionality
|
||||||
|
- Add 'signals' interface between modules
|
||||||
|
- Write compilation helper CLI for building payload and breakout module
|
||||||
|
- Make CLI
|
||||||
|
- Make GUI
|
||||||
|
|
||||||
|
### Topology
|
||||||
|
- Move server and client components into their own cargo projects
|
||||||
|
|
||||||
|
### Obfuscation
|
||||||
|
- Implement custom ELF loading possibly using 'https://github.com/weizhiao/rust-dlopen'
|
||||||
|
- Macro-based automatic control flow obfuscation
|
||||||
Generated
-7
@@ -1,7 +0,0 @@
|
|||||||
# This file is automatically @generated by Cargo.
|
|
||||||
# It is not intended for manual editing.
|
|
||||||
version = 4
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "testproj"
|
|
||||||
version = "0.1.0"
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
cargo-features = ["trim-paths"]
|
|
||||||
|
|
||||||
[package]
|
|
||||||
name = "testproj"
|
|
||||||
version = "0.1.0"
|
|
||||||
edition = "2024"
|
|
||||||
|
|
||||||
|
|
||||||
[lib]
|
|
||||||
crate-type = ["cdylib"]
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
|
|
||||||
|
|
||||||
[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"
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
#![no_std]
|
|
||||||
#![crate_type = "cdylib"]
|
|
||||||
|
|
||||||
use core::panic::PanicInfo;
|
|
||||||
|
|
||||||
#[panic_handler]
|
|
||||||
fn panic(_info: &PanicInfo) -> ! {
|
|
||||||
loop {}
|
|
||||||
}
|
|
||||||
|
|
||||||
#[unsafe(no_mangle)]
|
|
||||||
fn a() -> i32 {
|
|
||||||
1
|
|
||||||
}
|
|
||||||
|
|
||||||
#[repr(C)]
|
|
||||||
pub struct S {
|
|
||||||
a: u64,
|
|
||||||
b: u32,
|
|
||||||
c: u16,
|
|
||||||
d: u8,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[unsafe(no_mangle)]
|
|
||||||
pub extern "C" fn test_identity_struct(x: S) -> S {
|
|
||||||
x
|
|
||||||
}
|
|
||||||
|
|
||||||
#[unsafe(no_mangle)]
|
|
||||||
pub static HELLO: &str = "Hello!";
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# unshell-breakout-module
|
||||||
|
Project that contains the code to construct a module
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# unshell-cli
|
||||||
|
Command-line interface for unshell
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# unshell-crypt
|
||||||
|
|
||||||
|
Code for encryption and obfuscation
|
||||||
|
|
||||||
|
This must be in a seperate project because unshell-obfuscate and unshell-lib depend on this. If it were to be included in unshell-lib, there would be a circular dependency.
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
## unshell-lib
|
||||||
|
Code shared across all modules
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# unshell-obfuscate
|
||||||
|
|
||||||
|
proc_macros that automatically obfuscate code in other projects
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
## unshell-payload
|
||||||
|
Project that contains the code to construct a binary
|
||||||
Reference in New Issue
Block a user