Categories > Exploiting > Tutorials >

How tOmaKe priNt s ploit iN rUst

Posts: 531

Threads: 20

Joined: Nov, 2022

Reputation: 44

Posted

ok guys here we go with a tutorial on how to do print sploit rust (UWPVERSION) for RoBloX

 

the first step is put this music in the background, really sets the vibe up https://youtu.be/4zZFcoKJ6yc

 

now im not going to explain how to set up a dll project in rust because it can be overcomplicated for the new developers, so i'll put a link in the description on for an already set-uop porject

 

project: https://mega.nz/folder/mFx1hBgA#YxHxGaIHt_rDWIl7zjd45A

 

ok guys now that we have the project set-up, we're going to go into the src folder and into the lib.rs file

 

there we'll have to import some thingies for uhh use them, then we'll just type out some functions and a dll main, the result will be something like this:

 

use std::ffi::c_int;
use std::ffi::c_void;
use std::ffi::CString;
use std::os::raw::c_char;
use std::time::Duration;

fn rebase(address: usize) -> usize {
    let base = unsafe { winapi::um::libloaderapi::GetModuleHandleA(std::ptr::null()) } as usize;
    (address + base) - 0x400000
}

fn print(type_val: u8, content: String) -> c_int {
    let address = rebase(0xEF9490);
    let content = convert_to_cstring(content);
    unsafe {
        let func_ptr: extern "C" fn(u8, *const c_char) -> i32 =
            Some(std::mem::transmute(address)).unwrap();
        let content_ptr = content.as_ptr() as *const c_char;
        func_ptr(type_val, content_ptr)
    }
}

fn main() {
    for i in 0..=3 {
        print(i, format!("Hello world from rust printsploit. {}", i));
        std::thread::sleep(Duration::from_secs(1));
    }
}

#[no_mangle]
pub extern "system" fn DllMain(
    mod_handle: winapi::shared::minwindef::HINSTANCE,
    reason: u32,
    _: *mut c_void,
) -> i32 {
    unsafe {
        winapi::um::libloaderapi::DisableThreadLibraryCalls(mod_handle);
    }
    if reason == winapi::um::winnt::DLL_PROCESS_ATTACH {
        main();
    }
    1
}

fn convert_to_cstring(input: String) -> CString {
    match CString::new(input) {
        Ok(cstring) => cstring,
        Err(_) => panic!("Failed to convert &str to CString"),
    }
}

 

now all we hav to do is build this as a 32 bit dll, u can do it with the command  cargo build --target i686-pc-windows-msvc --release

now we just inject this into robuck and we get this::

 

https://cdn.discordapp.com/attachments/1064359813175328891/1111701711900393573/image.png

 

that's it guyssss hope you enjoyed this mazing rust turoail on how to build a printsploit urself!!!!

 

keep in mind next roblox uwp update this won't work again cuz the print address will be changed, you'll have to get it yourself if u wanna continue using this maazing software!! u should follow this guy's guide if u want it!! https://forum.wearedevs.net/t/33575

 

thanks for watching guys, remember lik, sub, hit da bell and remember guys, rust is the future and the ufturue is nwo!!!!!!!!!

 

partial credits to arad for already having the base of it, you can visit his github repo here: https://github.com/araddev/rustsploit_dll

 

EDIT: btw yes, this WILL slow down your roblox for 4 seconds while it's printing because it doesn't create a new thread :))))

  • 0

https://cdn.discordapp.com/attachments/1136067487847415848/1146449877660872785/image.png

https://cdn.discordapp.com/attachments/1098921594249814066/1112144294007029932/WRDBanner_Alawapr_1.png

arad

arad

Posts: 15

Threads: 1

Joined: Jun, 2021

Reputation: 6

Replied

BEST CODE, ON TOP, I CONTRIBUTED, RUSTSPLOIT WINNING, RUSTSPLOIT IS THE FUTURE OF ROBLOX EXPLOITING (real) (2023) (working no virus)

Comments

Alawrpar 44 Reputation

Commented

real /cahrharhsharhrs

  • 0

  • 0

https://cdn.discordapp.com/attachments/695925843834306592/1107453044708356106/image.png

Posts: 1430

Threads: 71

Joined: May, 2022

Reputation: 20

Replied

Is this for version 577 or 575?

Comments

Alawrpar 44 Reputation

Commented

577 /charsrsrsrsrsr

  • 0

Whoman 20 Reputation

Commented

whyyyyyyyyyyy 😭😭😭😭

  • 0

Alawrpar 44 Reputation

Commented

if you want you can search for the 575 address yourself

  • 0

  • 0

Did I mention I use arch btw?

Posts: 51

Threads: 17

Joined: Mar, 2023

Reputation: 4

Replied

BEST CODE IV EVER SEEN!!!!

Comments

Alawrpar 44 Reputation

Commented

thank :DDDDSDDDD

  • 0

  • 0

random quote here... 😂

TERIHAX

i say im gay as a joke 🙀

Posts: 2239

Threads: 102

Joined: Jul, 2020

Reputation: 32

Replied

ive done very little rust and the syntax is confusing asl, but im learning cpp rn so im putting rust to the side

Comments

Alawrpar 44 Reputation

Commented

fair enough, rust is a hard language so it's understandable, specially if your first look at it is a half-assed code that tries to interact with winapi and does funky sh*t

 

sincerely wish you the best with both languages though, gl 👍

  • 0

TERIHAX 32 Reputation

Commented

@Alawrpar ty for the support

  • 0

  • 0

hostedUser

Developer @ Xniper

Posts: 103

Threads: 26

Joined: Mar, 2023

Reputation: 1

Replied

lets skid skiddy skiddy

  • 0

                                                             #Road To 10 Rep

https://cdn.discordapp.com/attachments/1091702141871210517/1099702036041318450/WRDBanner_hostedUser_1.png siggy by B00M

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )