예제 #1
0
        // Token: 0x06000005 RID: 5 RVA: 0x000022CC File Offset: 0x000004CC
        private void InjectDLL()
        {
            DLLInjection.DllInjectionResult dllInjectionResult = DLLInjection.DllInjector.GetInstance.Inject("RobloxPlayerBeta", global::System.Windows.Forms.Application.StartupPath + "\\EasyExploitsDLL.dll");
            if (dllInjectionResult == DLLInjection.DllInjectionResult.Success)
            {
                return;
            }
            switch (dllInjectionResult)
            {
            case DLLInjection.DllInjectionResult.DllNotFound:
                global::System.Windows.Forms.MessageBox.Show("Couldn't find the dll!", "Error: Dll Not Found", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Hand);
                return;

            case DLLInjection.DllInjectionResult.GameProcessNotFound:
                global::System.Windows.Forms.MessageBox.Show("No ROBLOX process found!", "Game Process Not Found", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Hand);
                return;

            case DLLInjection.DllInjectionResult.InjectionFailed:
                global::System.Windows.Forms.MessageBox.Show("Injection failed!", "Injection Failed", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Hand);
                return;

            default:
                return;
            }
        }
예제 #2
0
        // Token: 0x06000007 RID: 7 RVA: 0x0000228C File Offset: 0x0000048C
        public static void InjectDLL()
        {
            DLLInjection.DllInjectionResult dllInjectionResult = DLLInjection.DllInjector.GetInstance.Inject("RobloxPlayerBeta", Application.StartupPath + "\\ApiModuleDLL.dll");
            if (dllInjectionResult != DLLInjection.DllInjectionResult.Success)
            {
                switch (dllInjectionResult)
                {
                case DLLInjection.DllInjectionResult.DllNotFound:
                    MessageBox.Show("Couldn't find the dll!", "Error: Dll Not Found", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                    return;

                case DLLInjection.DllInjectionResult.GameProcessNotFound:
                    MessageBox.Show("No ROBLOX process foud!", "Game Process Not Found", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                    return;

                case DLLInjection.DllInjectionResult.InjectionFailed:
                    MessageBox.Show("Injection failed!", "Injection Failed", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                    break;

                default:
                    return;
                }
            }
        }