mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Improve some of the obfuscation
This commit is contained in:
@@ -1,22 +1,11 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
enum TestEnum {
|
||||
Test = 135,
|
||||
}
|
||||
|
||||
#[unsafe(no_mangle)]
|
||||
pub fn test() -> i32 {
|
||||
let a = TestEnum::Test;
|
||||
|
||||
a as i32
|
||||
}
|
||||
|
||||
#[unsafe(no_mangle)]
|
||||
fn main() {
|
||||
let a = 5;
|
||||
let a = 135;
|
||||
|
||||
unshell_obfuscate::junk_asm!(0.1);
|
||||
unshell_obfuscate::junk_asm!(15.);
|
||||
|
||||
unsafe { libc::exit(a as i32) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user