View previous topic :: View next topic |
Author |
Message |
JMC17 How do I cheat?
Reputation: 0
Joined: 26 Nov 2015 Posts: 7
|
Posted: Thu Mar 17, 2022 9:18 am Post subject: Hacking using c# and injections? |
|
|
I've been hacking using ASM injections and it's a lot of fun, but lately I've been running into functions that processes a lot of important variables.
I made myself an ASM script to lay them into a codecave so I can point to them but it's tedious. I would much rather be able to inject one of my c# DLLs and reference it in the auto-assembler.
Is that possible with CE? Referencing a c# DLL in the auto-assembler to simplify the coding aspect?
I understand I can just do it all in Visual Studio but I really like using Cheat Engine's tools. If I could hug DarkByte I would.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Thu Mar 17, 2022 9:46 am Post subject: |
|
|
Does the target process use .net ? That would make it easier to inject that dll into the target process and then reference the method
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
JMC17 How do I cheat?
Reputation: 0
Joined: 26 Nov 2015 Posts: 7
|
Posted: Thu Mar 17, 2022 2:31 pm Post subject: |
|
|
Yes I believe so. The game I'm having fun with is Icarus. It's using Unreal Engine 4.
Do I reference the method using lua or asm?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Thu Mar 17, 2022 3:27 pm Post subject: |
|
|
If the target is running .net then you can use injectDotNetDLL(path) to inject the .net dll
Then use the normal .net functions to find the image of the dll and the method address
but I don't think unreal engine 4 uses .net so that likely won't work.
Perhaps you could make it load .net I'll look into that
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Sat Mar 19, 2022 6:21 am Post subject: |
|
|
You can use https://forum.cheatengine.org/viewtopic.php?p=5777686#5777686
and then use injectDotNetDLL to inject your c# dll
you'll have to jit the target method first, so launch the invasive dotnet data collector : LaunchDotNetInterface() and then you can use
dotnet_findDotNetMethodAddress(namespace, classname, methodname, modulename) to get the address of your method
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
JMC17 How do I cheat?
Reputation: 0
Joined: 26 Nov 2015 Posts: 7
|
Posted: Mon Mar 21, 2022 7:23 am Post subject: |
|
|
Thank you, you're the best.
|
|
Back to top |
|
 |
|