mirror of
https://github.com/KickedDroid/loadstar
synced 2026-06-08 11:29:54 +00:00
Update bof.rs
This commit is contained in:
+1
-9
@@ -1,13 +1,5 @@
|
||||
use core::ffi::{c_char, c_int, c_void};
|
||||
use utils::resolve_func;
|
||||
use utils::{output, printf, GetProcAddress, LoadLibraryA};
|
||||
|
||||
type MessageBoxA = unsafe extern "system" fn(
|
||||
hwnd: *mut c_void,
|
||||
test: *mut u8,
|
||||
caption: *mut u8,
|
||||
style: u32,
|
||||
) -> isize;
|
||||
use utils::output;
|
||||
|
||||
#[unsafe(no_mangle)]
|
||||
pub unsafe extern "C" fn rust_bof(args: *mut c_char, alen: c_int) {
|
||||
|
||||
Reference in New Issue
Block a user