Categories > Exploiting > Roblox >

Roblox blocks DLL injection

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

@Gulg

RobloxProcess = Process.Start(Path.Combine(RobloxPlayerDirectory, "RobloxPlayerBeta.exe"), "-app");
while (RobloxProcess.MainWindowHandle == IntPtr.Zero)
    Thread.Sleep(100);
RobloxProcessId = RobloxProcess.Id;

replace that code with the code below

RobloxProcess = Process.Start(Path.Combine(RobloxPlayerDirectory, "RobloxPlayerBeta.exe"), "-app");
RobloxProcess.WaitForInputIdle();
RobloxProcessId = Process.GetProcessById("RobloxPlayerBeta").Id;
  • 0

Added

@Gulg

dont forget to credit me and wearedevs

  • 0

Gulg

The sus guy

Posts: 29

Threads: 3

Joined: Feb, 2022

Reputation: 0

Replied

@75975 This didn't work :(
@75975 Of course I will credit. Thank you.

  • 0

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

@Gulg
so did it work?

  • 0

Gulg

The sus guy

Posts: 29

Threads: 3

Joined: Feb, 2022

Reputation: 0

Replied

@75975 No.

  • 0

Added

But it work fine with other apps like notepad or google chrome.

  • 0

Posts: 19

Threads: 3

Joined: Oct, 2022

Reputation: 0

Replied

@Gulg

 

It looks like to me you just skidded the code and dont know how it works or how to modify it. If your gonna try and accuse others of being "one of these fake programmers" atleast make your own src instead of decompiling something else and copy pasting it expecting it to work.

  • 0

https://github.com/LocalSmail/Finity

discord.gg/ZjDYXYbwkU

Gulg

The sus guy

Posts: 29

Threads: 3

Joined: Feb, 2022

Reputation: 0

Replied

@Finity No, it's just a misunderstanding. They aren't "fake programmers" and me either. I understand how the code work, but Roblox blocks dll injection and I don't know how to bypass blocking.

  • 0

Posts: 1479

Threads: 95

Joined: Oct, 2019

Reputation: 103

Replied

This Is Horrific I Think I Know The Answer But After Seeing All This I Wouldn't Be Willing To Provide It.

  • 1

Gulg

The sus guy

Posts: 29

Threads: 3

Joined: Feb, 2022

Reputation: 0

Replied

@ImmuneLion318 CAn we just forget it please, and you answer the question. I already said that I'm sorry.

  • 0

Murz

PixelPenguin

Posts: 240

Threads: 20

Joined: Jul, 2021

Reputation: 29

Replied

Yikes... Skidding = no no

  • 0

 

Ty for rep: Swiney, Byoke, Lion, Locust, Waves, Weeb, Nickk, darkn, Atari, CubeFaces, Lux14, Rice, Delta, Syraxes, Aeon, Jordan, Pluto, and Hiroku!

P.S, I like cats better too!

Gulg

The sus guy

Posts: 29

Threads: 3

Joined: Feb, 2022

Reputation: 0

Replied

@69128Ohh, give me the answer pleease!

  • 0

nickk

RealNickk

Posts: 18

Threads: 1

Joined: Dec, 2022

Reputation: 7

Replied

Reviewing your situation, I can see two issues.

 

1. There is a good chance you're attempting to load your library inside Roblox's daemon process. This second process runs in the background and serves as a reporting tool for modules allocated to the game's memory space. Since the process runs in the background, the process doesn't have a window, therefore you can get the process ID of the game's true process instead of the daemon process by ensuring it has a window handle.

 

2. There also may be a conflict with architectures, as you said that it worked fine on the Notepad application, which runs on 64-bit mode by default on 64-bit editions of Windows, which I'm going to assume you're running. Make sure you're compiling your library on the x86—or Win32—platform, and not x64.

 

Here is some pseudocode for getting the non-daemon Roblox process:

var robloxPid = 0;
foreach (var proc in Process.GetProcessesByName("RobloxPlayerBeta")) { // Don't include ".exe" at the end, because it's stated that GetProcessesByName requires a "friendly name."
    if (proc.MainWindowHandle != IntPtr.Zero) {
        robloxPid = proc.Id;
        break;
    }
}

if (robloxPid == 0) {
    // Roblox not found.
}

 

Let me know if anything worked.

  • 0

Gulg

The sus guy

Posts: 29

Threads: 3

Joined: Feb, 2022

Reputation: 0

Replied

@91102Yes, it looks like the issue is in the architecture.

  • 0

Added

@nickk No, I tried rebuilding dll with the Win32 architecture, still doesn't work.
I start Roblox process using this:

RobloxProcess = Process.Start(Path.Combine(RobloxPlayerDirectory, "RobloxPlayerBeta.exe"), "-app");
  • 0

Prev Next >>>

Users viewing this thread:

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