| View previous topic :: View next topic |
| Author |
Message |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Sat Aug 16, 2008 3:54 pm Post subject: |
|
|
I think call means function.. and retn means (RET) returns back to where call was is +1 and since call was in my naked function it should stay in my naked function should leave it so i got no comment.. Plus i dont know where to learn more.
I gotta learn where CALL holds the number that tells it where to retn and modify it joking i dont think its possible!
u cant do jmp to Game Decrypt because it requires arguments I believe.
call takes arguments from pushes..
|
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Sat Aug 16, 2008 4:52 pm Post subject: |
|
|
Call pushes EIP onto the stack so that RETN knows where to go. Thats why push ADDRESS + RETN = a jump. RETN uses the [esp] to return and the number with retn is to clean up the parameters if there are any.
_________________
|
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Sun Aug 17, 2008 2:53 pm Post subject: |
|
|
you know what i meant nog. where'd you go?
_________________
|
|
| Back to top |
|
 |
the_undead Expert Cheater
Reputation: 1
Joined: 12 Nov 2006 Posts: 235 Location: Johannesburg, South Africa
|
Posted: Mon Aug 18, 2008 8:20 am Post subject: |
|
|
yeah nog dude, I havent seen you around for a shit long time, but i guess im not really here anymore ever either.
_________________
|
|
| Back to top |
|
 |
&Vage Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Jul 2008 Posts: 1053
|
Posted: Mon Aug 18, 2008 4:54 pm Post subject: |
|
|
Code cave the entire instructions
| Code: |
int tempsize;
char *tempbuff;
__asm{
mov tempsize, edi
mov tempbuff, eax
push edi
push eax
call myrecv
}
return tempbuff;
|
|
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Mon Aug 18, 2008 5:07 pm Post subject: |
|
|
in a naked function if i did.
int and char*'s outside the assembly inline function wouldn't that mess up assembly.. also I think im almost done anyways without using tempsize tempbuffer's its going alright atm.
just crashes but atleast I see first RECV undecrypted.
yes
Causes crash because EBP is my packet size -__- and
program does [EBP-4] to store values on stack... but EBP is my size so its not possible to store there..
MAN this is soo crazy...
AT LOGIN SCREEN
EBX = PACKET
EBP = SIZE
INSIDE GAME
ESI = END OF PACKET PACKET=PACKET-SIZE;
EDX = SIZE
now if i load up hack before inside game -.- will crash game
|
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Wed Aug 20, 2008 11:02 pm Post subject: |
|
|
EBP is the base pointer of the stack. You are confused.
Sponge/undead: I went to sleep oO. Naw I got bored of MS hacking, moved on to a couple legit games and some other hacking.
_________________
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 |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Wed Aug 20, 2008 11:38 pm Post subject: |
|
|
d\w man.. this topic is old.. needs lock... i fixed all all works perfectly..
_________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Thu Aug 21, 2008 3:08 pm Post subject: |
|
|
Locked due to request of OP.
_________________
- Retired. |
|
| Back to top |
|
 |
|