View previous topic :: View next topic |
Author |
Message |
Yu-Haxxx How do I cheat?
Reputation: 0
Joined: 17 Aug 2016 Posts: 8 Location: dddd
|
Posted: Fri Aug 19, 2016 4:51 am Post subject: Convert AAA script TO C+++ Scirpt |
|
|
Code: |
[ENABLE]
alloc(temp,4069)
createthread(temp)
temp:
mov eax,[game.dll+122BC9C]
push [ebp+08]
push string.dll+B33EB
mov esi,[eax]
call game.dll+523150
mov ecx,[game.dll+122BC9C]
add esp,08
push eax
push 00
call game.dll+223110
ret
|
ANy HElp?
_________________
ddddd |
|
Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Fri Aug 19, 2016 5:20 am Post subject: |
|
|
It's actually pretty easy
alloc should VirtualAlloc(EX)
createthread(temp) should be CreateThread()
the rest of it is just modifying game code/offsets. You can either grab the bytes and do a WriteProcessMemory() or do inline asm.
I don't remember if Visual Studio allowed inline asm in 32-bit or not, my memory's kind of hazy (it was 3 or 4 years ago), it definitely didn't for 64-bit without some work-around. But you can use the embercardo's c++ (aka borland's c++), they support inline-asm. Their delphi compiler does so i am pretty sure c++ too.
If all of this sounds too complicated then i suggest learning c++ from scratch. You can't take shortcuts with c++ and even if someone spoon feeds you, you won't go far.
_________________
|
|
Back to top |
|
 |
Redouane Master Cheater
Reputation: 3
Joined: 05 Sep 2013 Posts: 363 Location: Algeria
|
|
Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Fri Aug 19, 2016 5:48 am Post subject: |
|
|
Oops...i use it within my dll all the time, totally forgot the Remote variant for other processes.
Thanks for the correction
_________________
|
|
Back to top |
|
 |
|