| View previous topic :: View next topic |
| Author |
Message |
RAKO Master Cheater
Reputation: 0
Joined: 26 Jun 2006 Posts: 454
|
Posted: Fri Sep 12, 2008 6:21 am Post subject: [help] how would i read edx/ecx values from certain point? |
|
|
ok I want to make a little program for maple story and anyway there is info that I want to find out and all I need is the edx and ecx values but I can't change the memory. I know ce does it in the form:
formFoundcodeListExtraUnit
but I'm not that great with delphi. so can someone tell me how to do this in either c++ or c#? _________________
| Dark Byte wrote: | | Who knows, perhaps i'm a maple gm!!!! |
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Fri Sep 12, 2008 8:28 am Post subject: |
|
|
Do a codecave then move each of the values you want into buffers. You will probably need to use inline ASM either way but make sure not to make any function calls before you move them into buffers else you will end up modifying EAX/ECX/EDX.
Or if you can bypass it.. DebugActiveProcess/GetThreadContext. Not sure what you mean by you can't change memory. You won't be able to read anything without modifying memory or acting as a debugger and/or breakpointing at a certain VA. |
|
| Back to top |
|
 |
GMZorita Grandmaster Cheater Supreme
Reputation: 0
Joined: 21 Mar 2007 Posts: 1361
|
Posted: Fri Sep 12, 2008 10:57 am Post subject: |
|
|
unsigned myadd = 1;
unsigned myreturn = myaddy+5;
int ecxval;
void mycall()
{
OutputDebugString(IntToHex((int)ecxval,8).c_str());
}
void mycodecave()
{
_asm{
mov [ecxval],ecx
call mycall
jmp myreturn
}
}
Make the jump and your done. _________________
Gone
Last edited by GMZorita on Sat Sep 13, 2008 6:02 am; edited 1 time in total |
|
| Back to top |
|
 |
Zand Master Cheater
Reputation: 0
Joined: 21 Jul 2006 Posts: 424
|
Posted: Fri Sep 12, 2008 11:26 pm Post subject: |
|
|
| If you're making it jump back to myreturn, when is OutputDebugString called? |
|
| Back to top |
|
 |
GMZorita Grandmaster Cheater Supreme
Reputation: 0
Joined: 21 Mar 2007 Posts: 1361
|
Posted: Sat Sep 13, 2008 6:02 am Post subject: |
|
|
| Zand wrote: | | If you're making it jump back to myreturn, when is OutputDebugString called? |
lol sorry my mistake fixed. _________________
Gone |
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sat Sep 13, 2008 11:55 am Post subject: |
|
|
Read the thread properly..
| Quote: | | ok I want to make a little program for maple story and anyway there is info that I want to find out and all I need is the edx and ecx values but I can't change the memory. |
|
|
| Back to top |
|
 |
GMZorita Grandmaster Cheater Supreme
Reputation: 0
Joined: 21 Mar 2007 Posts: 1361
|
Posted: Sat Sep 13, 2008 12:12 pm Post subject: |
|
|
| Slugsnack wrote: | Read the thread properly..
| Quote: | | ok I want to make a little program for maple story and anyway there is info that I want to find out and all I need is the edx and ecx values but I can't change the memory. |
|
You talked about mem edit also.
| Slugsnack wrote: | | [color=blue]Do a codecave then move each of the values you want into buffers. You will probably need to use inline ASM either way but make sure not to make any function calls before you move them into buffers else you will end up modifying EAX/ECX/EDX. |
Its way harder to make it w/o mem edit goodluck. _________________
Gone |
|
| Back to top |
|
 |
RAKO Master Cheater
Reputation: 0
Joined: 26 Jun 2006 Posts: 454
|
Posted: Sun Sep 14, 2008 12:51 am Post subject: |
|
|
ok so it is hard to make without mem editing. but i believe it is done in cheat engine and I know which form it is done in so I will have to try. I think I have other options as well. thanks anyway. _________________
| Dark Byte wrote: | | Who knows, perhaps i'm a maple gm!!!! |
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sun Sep 14, 2008 1:47 pm Post subject: |
|
|
| GMZorita wrote: | | Slugsnack wrote: | Read the thread properly..
| Quote: | | ok I want to make a little program for maple story and anyway there is info that I want to find out and all I need is the edx and ecx values but I can't change the memory. |
|
You talked about mem edit also. |
| Quote: | | Or if you can bypass it.. DebugActiveProcess/GetThreadContext |
|
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Sun Sep 14, 2008 5:33 pm Post subject: |
|
|
Hardware breakpoints. (what is the status on these in current GG?). _________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish |
|
| Back to top |
|
 |
rapion124 Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Mar 2007 Posts: 1095
|
Posted: Mon Sep 15, 2008 3:22 pm Post subject: |
|
|
| Why can't you edit memory? Is it because of a CRC? If so, then you can just restore the original bytes in your codecave. That should allow you to get the ecx/edx value without getting detected. Only problem is you have to rewrite your jmp everytime. |
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Mon Sep 15, 2008 4:53 pm Post subject: |
|
|
| rapion124 wrote: | | Why can't you edit memory? Is it because of a CRC? If so, then you can just restore the original bytes in your codecave. That should allow you to get the ecx/edx value without getting detected. Only problem is you have to rewrite your jmp everytime. | Yes, it's because of CRC. He's actually trying to do "CAM vac" for MapleStory. _________________
|
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Mon Sep 15, 2008 8:50 pm Post subject: |
|
|
| rapion124 wrote: | | Why can't you edit memory? Is it because of a CRC? If so, then you can just restore the original bytes in your codecave. That should allow you to get the ecx/edx value without getting detected. Only problem is you have to rewrite your jmp everytime. |
CRC is not respective of code stream. It just reads continuously through the code memory. Therefore, your original jump/call to your codecave will change the CRC value and poof. _________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish |
|
| Back to top |
|
 |
|