Advertisement
YourMain12

Byfron Bypass (Executor API)

May 4th, 2023
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.86 KB | None | 0 0
  1. using System;
  2. using System.Runtime.InteropServices;
  3.  
  4. namespace RobloxExecutorAPI
  5. {
  6.     class Program
  7.     {
  8.         [DllImport("kernel32.dll")]
  9.         public static extern IntPtr OpenProcess(uint dwDesiredAccess, bool bInheritHandle, int dwProcessId);
  10.  
  11.         [DllImport("kernel32.dll")]
  12.         public static extern bool WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, byte[] lpBuffer, uint nSize, out IntPtr lpNumberOfBytesWritten);
  13.  
  14.         static void Main(string[] args)
  15.         {
  16.             IntPtr processHandle = OpenProcess(0x1F0FFF, false, Process.GetProcessesByName("RobloxPlayerBeta")[0].Id);
  17.             byte[] bypassCode = { 0x31, 0xC0, 0xC3 };
  18.             IntPtr address = new IntPtr(0x1F9D7F0);
  19.             IntPtr bytesWritten;
  20.             WriteProcessMemory(processHandle, address, bypassCode, 3, out bytesWritten);
  21.         }
  22.     }
  23. }
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement