View previous topic :: View next topic |
Author |
Message |
richie86 Grandmaster Cheater Reputation: 0
Joined: 13 Jan 2006 Posts: 664
|
Posted: Fri Dec 15, 2006 1:51 am Post subject: How to copy pointer value to an allocated address. |
|
|
This is the simple aa code that allocated a region and assign 0 to it.
Code: | [ENABLE]
registersymbol(X)
alloc(X,8)
X:
dd 00 // This set the value to 0
[DISABLE]
unregistersymbol(X)
dealloc(X) |
what if i wish to get the value from a pointer = 007367E8 OFFSET: 574
What should I changed?
Code: | [ENABLE]
registersymbol(X)
alloc(X,8)
// This seems doesn't work
mov eax, 007367E8
add eax, 574
mov [x], eax
[DISABLE]
unregistersymbol(X)
dealloc(X) |
_________________
Last edited by richie86 on Tue Dec 19, 2006 5:21 am; edited 1 time in total |
|
Back to top |
|
|
Death4ngel Grandmaster Cheater Supreme Reputation: 0
Joined: 23 Sep 2006 Posts: 1226 Location: Singapore
|
Posted: Fri Dec 15, 2006 9:34 am Post subject: |
|
|
[ENABLE]
registersymbol(X)
alloc(X,
// This seems doesn't work
mov eax, 7367E8
add eax, 574
mov [eax], //Value you want.
[DISABLE]
unregistersymbol(X)
dealloc(X)
_________________
//GOD!!! THOSE STUPID RETARDED SHITHEADS NEVER MAKE IT PAST THIS STEP!!!!!!
//Thats why it's out....
|
|
Back to top |
|
|
richie86 Grandmaster Cheater Reputation: 0
Joined: 13 Jan 2006 Posts: 664
|
Posted: Fri Dec 15, 2006 5:54 pm Post subject: |
|
|
if in this case
Code: | mov eax, 7367E8
add eax, 574
mov [eax], //Value you want. |
do i still need to allocate x?
_________________
|
|
Back to top |
|
|
Death4ngel Grandmaster Cheater Supreme Reputation: 0
Joined: 23 Sep 2006 Posts: 1226 Location: Singapore
|
Posted: Fri Dec 15, 2006 8:53 pm Post subject: |
|
|
Ops, Sorry my bad. I never read your post properly. I thought you want to change the value of a pointer to something else.
Code: | [ENABLE]
registersymbol(X)
alloc(X,8)
// This seems doesn't work
mov eax, 007367E8
add eax, 574
mov [x], eax
[DISABLE]
unregistersymbol(X)
dealloc(X) |
But it doesn't specify what is X.
_________________
//GOD!!! THOSE STUPID RETARDED SHITHEADS NEVER MAKE IT PAST THIS STEP!!!!!!
//Thats why it's out....
|
|
Back to top |
|
|
richie86 Grandmaster Cheater Reputation: 0
Joined: 13 Jan 2006 Posts: 664
|
Posted: Sun Dec 17, 2006 7:54 am Post subject: |
|
|
dark byte you had any idea on my question? what i wanna do here is retrieve a value from a pointer, and assign it to an allocated address.
_________________
|
|
Back to top |
|
|
DoomsDay Grandmaster Cheater Reputation: 0
Joined: 06 Jan 2007 Posts: 768 Location: %HomePath%
|
Posted: Tue Jan 09, 2007 12:28 pm Post subject: |
|
|
Try doing this:
Code: | mov eax, [007367E8]
add eax, [eax+574]
mov [x], eax |
|
|
Back to top |
|
|
Xblade Of Heaven Master Cheater Reputation: 0
Joined: 16 Oct 2005 Posts: 394 Location: DEAD
|
Posted: Tue Jan 09, 2007 11:00 pm Post subject: |
|
|
no work
_________________
Welcome to the Hell.
|
|
Back to top |
|
|
DoomsDay Grandmaster Cheater Reputation: 0
Joined: 06 Jan 2007 Posts: 768 Location: %HomePath%
|
Posted: Wed Jan 10, 2007 6:54 am Post subject: |
|
|
you still need an injection adress(Instead of 00000000/1)
Code: | [Enable]
alloc(lol, 64)
alloc(Value, 16)
registersymbol(Value)
00000000:
jmp LOL
lol:
mov eax, [007367E8]
add eax, [eax+574]
mov [Value], eax
jmp 00000001
Disable:
dealloc(lol)
dealloc(Value)
unregistersymbol(Value) |
|
|
Back to top |
|
|
sired22 Cheater Reputation: 1
Joined: 22 Aug 2006 Posts: 36
|
Posted: Mon Jan 15, 2007 11:24 pm Post subject: |
|
|
try
push eax
mov eax, [007367E8]
lea eax, [eax+574]
mov [Value], eax
pop eax
jmp 00000001
|
|
Back to top |
|
|
Renato Grandmaster Cheater Supreme Reputation: 0
Joined: 27 Jun 2006 Posts: 1564
|
Posted: Sun Feb 25, 2007 11:37 pm Post subject: |
|
|
mov ecx,[00785F64]
mov ecx,[ecx+000005cc]
|
|
Back to top |
|
|
DaNemeziz Master Cheater Reputation: 0
Joined: 29 Sep 2007 Posts: 430
|
Posted: Wed Jul 02, 2008 9:17 am Post subject: |
|
|
Renato wrote: | mov ecx,[00785F64]
mov ecx,[ecx+000005cc]
|
why some are usin eax and some ecx? from where you know what to use? <.< and why you are having 5cc as offset? o.O i'm confused now
---
if somebody have an answer on all that i would need it too
thanks in advance
|
|
Back to top |
|
|
CTCreator Advanced Cheater Reputation: 0
Joined: 23 Mar 2008 Posts: 69
|
Posted: Tue Jul 08, 2008 9:08 pm Post subject: |
|
|
Code: | //try this am stil noob
//some-lines if code should be here i think
X:
push eax
mov eax,[007367E8]
lea eax,[eax+23E]
pop eax |
"pop eax" is the output of the value from a pointer = 007367E8 OFFSET: 574 after put inside the X value
|
|
Back to top |
|
|
educofu Expert Cheater Reputation: 3
Joined: 21 Aug 2009 Posts: 171 Location: Brazil,MG,OP
|
Posted: Tue Dec 22, 2009 3:38 pm Post subject: |
|
|
u can try:
mov eax,[address]+offset
if multiple level:
mov eax,[[address]+offset1]+offset2
--------method 2--------
mov eax,[address]
add eax,offset
if multiple level:
mov eax,[address]
add eax,offset1
add [eax],offset2
add [eax],offset3
...
_________________
"I finally started thinking outside of the box, only to find myself in a larger box." |
|
Back to top |
|
|
shakib187 Expert Cheater Reputation: 0
Joined: 24 May 2007 Posts: 215
|
Posted: Thu Jun 21, 2012 6:44 am Post subject: |
|
|
This is so hard when you have no idea how to code >>"
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Thu Jun 21, 2012 6:50 am Post subject: |
|
|
But it's a good incentive to learn coding
Just ask specific questions like what a specific line of code does and we're willing to explain
It's usually just simple logic. Most of the time you don't even need to know the more advanced stuff in programming, like arrays...
_________________
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 |
|
|
|