injection client tutorials

Status
This thread has been locked.

john.

Join my discord https://discord.gg/yZTfJ2S
Banned
Feedback score
4
Posts
259
Reactions
155
Resources
0
drop links to some tutorials for injection clients.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

David Cooke

Java Developer, Discord: Dave#0046
Supreme
Feedback score
1
Posts
27
Reactions
4
Resources
0
Hacked client tutorials always teach horrible coding practices.
If you haven't learnt java yet, the oracle tutorial(https://docs.oracle.com/javase/tutorial/) is the best but no one has actually read that. Derek banas' tutorial is good or if you'd prefer something to read, look at head first java. Once you've learned java well, start learning about java agents and asm. There's not really a good tutorial about this, you're pretty much on your own but if you know java, it won't be difficult to pick up.
 

john.

Join my discord https://discord.gg/yZTfJ2S
Banned
Feedback score
4
Posts
259
Reactions
155
Resources
0
I do
Hacked client tutorials always teach horrible coding practices.
If you haven't learnt java yet, the oracle tutorial(https://docs.oracle.com/javase/tutorial/) is the best but no one has actually read that. Derek banas' tutorial is good or if you'd prefer something to read, look at head first java. Once you've learned java well, start learning about java agents and asm. There's not really a good tutorial about this, you're pretty much on your own but if you know java, it won't be difficult to pick up.

I know Java pretty well, its injection clients I don't really know much on how to code.
 
Banned forever. Reason: Doxing community members (https://builtbybit.com/threads/in(regard-to-my-ban.423288/).)

David Cooke

Java Developer, Discord: Dave#0046
Supreme
Feedback score
1
Posts
27
Reactions
4
Resources
0
I do


I know Java pretty well, its injection clients I don't really know much on how to code.
Injection clients are made using java agents and usually ASM, java agents are pretty simple, ASM is a library to manipulate bytecode(used for the actual injection part of the client). Ghost clients don't use javaagents in the usual way, they attach them using JVMTI, you need to know c++(or any other native language) to do that.
 

john.

Join my discord https://discord.gg/yZTfJ2S
Banned
Feedback score
4
Posts
259
Reactions
155
Resources
0
Injection clients are made using java agents and usually ASM, java agents are pretty simple, ASM is a library to manipulate bytecode(used for the actual injection part of the client). Ghost clients don't use javaagents in the usual way, they attach them using JVMTI, you need to know c++(or any other native language) to do that.
any links?
 
Banned forever. Reason: Doxing community members (https://builtbybit.com/threads/in(regard-to-my-ban.423288/).)

Killstreak702

Premium
Feedback score
1
Posts
227
Reactions
105
Resources
0
I recommend learning a decent amount of C++, then you probably want to learn memory hacking and DLL injection. If you learn these then you'll have really all the knowledge you need to create an external or DLL based cheat.
 

Blood

Deactivated
Feedback score
23
Posts
497
Reactions
287
Resources
0
I recommend learning a decent amount of C++, then you probably want to learn memory hacking and DLL injection. If you learn these then you'll have really all the knowledge you need to create an external or DLL based cheat.
i agree with this ^^ (hi suggesting)

I recommend you familiarize yourself with C++ first as it does get complicated if you aren't experienced in it (like myself). Then you have to learn a little bit about process memory. Then you can make your injector. There's plenty of DLL injector tutorials all over the web. As for the DLL, I recommend to use JNI to basically program in Java in C++.
note: I haven't made a working DLL injector myself but I do know the basics of injection clients
my friend furytheskid can elaborate and explain better than I can and can definitely offer better tips/advice (he's the one that taught me this)
 
Last edited:

furytheskid

Feedback score
0
Posts
4
Reactions
17
Resources
0
i agree with this ^^ (hi suggesting)

I recommend you familiarize yourself with C++ first as it does get complicated if you aren't experienced in it (like myself). Then you have to learn a little bit about process memory. Then you can make your injector. There's plenty of DLL injector tutorials all over the web. As for the DLL, I recommend to use JNI to basically program in Java in C++.
note: I haven't made a working DLL injector myself but I do know the basics of injection clients
my friend furytheskid can elaborate and explain better than I can and can definitely offer better tips/advice (he's the one that taught me this and is probably cringing at my explanation)
Hi, thanks for tagging me. I'll be glad to explain how injection clients are made. First of all, I'd like to preface this by saying that there are 2 main programming languages that can be used when creating an injection client. Let's start with C++:

If you have installed the Java Development Kit (JDK) then you'll notice you have a folder in your Java directory called "win32", this includes the C++ header files for which you can use the Java Native Interface (JNI) which allows you to access Java methods and fields in C++. As The_Bloodhound already linked you an article to show how you can use JNI, I won't need to explain it. You must create a Dynamic Linked Library (DLL) and inject it into Minecraft for it to access Minecraft's classes, keep in mind that Minecraft uses it's own class loader so you must use Minecraft's "FindClass" function versus the regular "env->FindClass" in JNI. Here's how you can inject a DLL into a process:

Obtain a handle to the Minecraft class:

HWND hwnd = FindWindow("LWJGL", "Minecraft 1.7.10); (doesn't matter what version)
DWORD process_id;
GetWindowThreadProcessId(hwnd, &process_id);

HANDLE process_handle = OpenProcess(PROCESS_ALL_ACCESS, false, process_id);


Allocate space for the DLL in Minecraft's memory:

char dll[MAX_PATH];
GetFullPathNameA(DLL_DIRECTORY_HERE, MAX_PATH, dll, NULL);

LPVOID memory = VirtualAllocEx(process_handle, 0, sizeof(dll), MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE);

Then write the DLL image to Minecraft:

WriteProcessMemory(process_handle, memory, dll, sizeof(dll), 0);

Finally, call CreateRemoteThread() to create a new thread which calls LoadLibraryA() in order to load your DLL.

With all of this said and done, you can now make an injection client with C++. LordPankake has nice tutorials on YouTube on how to make a JNI client (of course, it's just basic and he doesn't explain any of it, you'll have to learn by observing his code), I think you will find them useful. However, the mappings change per version of Minecraft so don't be frantic if it crashes when you inject. Just check the mappings and re-create them for that specific version of Minecraft.

I must say, I have absolutely zero experience in making any sort of Java injection client, however... saviour LordPankake has also made a tutorial on how to make a Java injection client! Go check him out on YouTube. By the way, I'm the one who made the Iridium Ghost Client on YouTube. It's made 100% in C++ using JNI. Hope that I helped you in your endeavor for creating an injection client.
 
Status
This thread has been locked.
Top