Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Programming Tutorials › WarRock Game Injector

WarRock Game Injector

Posts 1–9 of 9 · Page 1 of 1
AeroMan
AeroMan
WarRock Game Injector
Hey,
Some ppl asked me: 'How do you make an injector?'
The answer you discover by following this tutorial.

By any questions ask me!
I hope you enjoy it!


Note: This Codes has been writen by: miwin94
Note: Follow this correctly!


1/ Make an Project 'Windows Application'
2/ Name it how you wand to be:
3/ Add 2 textboxes And 1 timer! 'IMPORTANT!'
4/ Follow this codes correctly!
Design, How you want it:



We are adding the codes into: 'Public Class Form1' The Private Functions:
[php]Private TargetProcessHandle As Integer
Private pfnStartAddr As Integer
Private pszLibFileRemote As String
Private TargetBufferSize As Integer
[/php]



Then we adding the Public Functions info 'Public Class Form1':
[php]Public Const PROCESS_VM_READ = &H10
Public Const TH32CS_SNAPPROCESS = &H2
Public Const MEM_COMMIT = 4096
Public Const PAGE_READWRITE = 4
Public Const PROCESS_CREATE_THREAD = (&H2)
Public Const PROCESS_VM_OPERATION = (&H8)
Public Const PROCESS_VM_WRITE = (&H20)
[/php]



Then we gonna Declaire "kernel32":
[php]Public Declare Function ReadProcessMemory Lib "kernel32" ( _
ByVal hProcess As Integer, _
ByVal lpBaseAddress As Integer, _
ByVal lpBuffer As String, _
ByVal nSize As Integer, _
ByRef lpNumberOfBytesWritten As Integer) As Integer
[/php]



Then we gonna load ""kernel32" & "LoadLibraryA":
[php] Public Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" ( _
ByVal lpLibFileName As String) As Integer[/php]

Now Declair "kernel32":
[php]Public Declare Function VirtualAllocEx Lib "kernel32" ( _
ByVal hProcess As Integer, _
ByVal lpAddress As Integer, _
ByVal dwSize As Integer, _
ByVal flAllocationType As Integer, _
ByVal flProtect As Integer) As Integer
[/php]



Add this under it:
[php] ByVal hModule As Integer, ByVal lpProcName As String) As Integer

Private Declare Function GetModuleHandle Lib "Kernel32" Alias "GetModuleHandleA" ( _
ByVal lpModuleName As String) As Integer

Public Declare Function CreateRemoteThread Lib "kernel32" ( _
ByVal hProcess As Integer, _
ByVal lpThreadAttributes As Integer, _
ByVal dwStackSize As Integer, _
ByVal lpStartAddress As Integer, _
ByVal lpParameter As Integer, _
ByVal dwCreationFlags As Integer, _
ByRef lpThreadId As Integer) As Integer
[/php]

Then for the process:
[php] ByVal hModule As Integer, ByVal lpProcName As String) As Integer

Private Declare Function GetModuleHandle Lib "Kernel32" Alias "GetModuleHandleA" ( _
ByVal lpModuleName As String) As Integer

Public Declare Function CreateRemoteThread Lib "kernel32" ( _
ByVal hProcess As Integer, _
ByVal lpThreadAttributes As Integer, _
ByVal dwStackSize As Integer, _
ByVal lpStartAddress As Integer, _
ByVal lpParameter As Integer, _
ByVal dwCreationFlags As Integer, _
ByRef lpThreadId As Integer) As Integer
[/php]

And finally ad this under This module above:
[php] Public Declare Function OpenProcess Lib "kernel32" ( _
ByVal dwDesiredAccess As Integer, _
ByVal bInheritHandle As Integer, _
ByVal dwProcessId As Integer) As Integer

Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" ( _
ByVal lpClassName As String, _
ByVal lpWindowName As String) As Integer

Private Declare Function CloseHandle Lib "kernel32" Alias "CloseHandleA" ( _
ByVal hObject As Integer) As Integer


[/php]

Now you gonna Import your ExeName So for: Your .dll Injection:
[php] Dim ExeName As String = IO.Path.GetFileNameWithoutExtension(Application.Ex ecutablePath)[/php]



Now We Gonna make the 'Inject' Part for our game client!
[php]Private Sub Inject()
On Error GoTo 1 ' If there is any error there will no messages
Timer1.Stop()
Dim TargetProcess As Process() = Process.GetProcessesByName("WarRock")
TargetProcessHandle = OpenProcess(PROCESS_CREATE_THREAD Or PROCESS_VM_OPERATION Or PROCESS_VM_WRITE, False, TargetProcess(0).Id)
pszLibFileRemote = Application.StartupPath & "\" + ExeName + ".dll"
pfnStartAddr = GetProcAddress(GetModuleHandle("Kernel32"), "LoadLibraryA")
TargetBufferSize = 1 + Len(pszLibFileRemote)
Dim Rtn As Integer
Dim LoadLibParamAdr As Integer
LoadLibParamAdr = VirtualAllocEx(TargetProcessHandle, 0, TargetBufferSize, MEM_COMMIT, PAGE_READWRITE)
Rtn = WriteProcessMemory(TargetProcessHandle, LoadLibParamAdr, pszLibFileRemote, TargetBufferSize, 0)
CreateRemoteThread(TargetProcessHandle, 0, 0, pfnStartAddr, LoadLibParamAdr, 0, 0)
CloseHandle(TargetProcessHandle)
1: Me.Close()
End Sub
[/php]

Now add this code to your timer:
[php]If IO.File.Exists(Application.StartupPath & "\" + ExeName + ".dll") Then
Dim TargetProcess As Process() = Process.GetProcessesByName("HSUpdate")
If TargetProcess.Length = 0 Then
Me.TextBox1.Text = ("Waiting for WarRock.exe")
Me.TextBox2.Text = ("Let's Hack with Mpgh.net")
Else
Timer1.Stop()
Me.TextBox1.Text = "Injected!"
Call Inject()
End If
Else
Me.TextBox1.Text = ("" + ExeName + ".dll not found")
Me.TextBox2.Text = ("Rename the .dll To " + "" + ExeName)
End If
[/php]



Finally add this code to your Form1_load:
[php] Timer1.Interval = 50
Timer1.Start()
[/php]

Testing injetor:

Its to let timer Start for injection!
Enjoy!

Project Info:
Ready-to-use Pack.
It has included Source + injector!
VirusScan *virustotal.com*
You can change everything in injector you want.
You can also change design
If your new to this, then i should recommend don't change the codes.
Goodluck!
#1 · edited 16y ago · 16y ago
hopefordope
hopefordope
mine is better cuz u can chose the Process
#2 · 16y ago
IM
immortal-
the code for my injector is wayy shorter then this and has 0 errors
#3 · 16y ago
/B
/b/oss
hopefordope's injectors are the best 4 ever
#4 · 16y ago
NextGen1
NextGen1
IMO, immortals is better, and hopes, isn't "hopes" its modifed immortal / Ugleh "used as a base"
#5 · 16y ago
Jhem
Jhem
Not Work...

Its Work But Now Work In Inject Program//...!
#6 · 14y ago
.D
.DLL
Uhm, Doesn't this go in
WarRock Hack Source Code - MPGH - MultiPlayer Game Hacking
or
WarRock - International Hacks - MPGH - MultiPlayer Game Hacking
?
Please tell me if i'm mistaken, :/
#7 · 14y ago
thespy111
thespy111
thx good tut
#8 · 14y ago
Darkzz12
Darkzz12
Nc [TUT] sir Thnks..............
#9 · 14y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • Warrock GameBy Kyojiro in WarRock - International Hacks
    12Last post 20y ago
  • Is it possible to open 2 warrock games at once?By Mike7663 in General Hacking
    3Last post 17y ago
  • Looking for the old Warrock Game FilesBy Zededarian in WarRock - International Hacks
    2Last post 20y ago
  • Korean Warrock Game Problem!By MPGHL0v3r in WarRock Korea Hacks
    0Last post 18y ago
  • Warrock Game Guard BypassBy Dave84311 in WarRock - International Hacks
    206Last post 20y ago

Tags for this Thread

None