'Batata! (06-15-2011),-Bl00d- (09-10-2011),AlessandrA10 (06-13-2011),[MPGH]Flengo (06-18-2011),HurleyppL (07-02-2011),pDevice (06-30-2012)
well Someone said that CA sig scans for PTC methon so have fun with them :O
I did this to my PTC
[highlight=cpp]
void GameInfo::PushTC(char* command)
{
__asm
{
CMP DWORD PTR [EBP+0x8], 0
JNZ FAIL
MOV EAX, dwPtcAddr
CMP DWORD PTR [EAX], 0
JNZ FAIL
PUSH [EBP+0x8]
CALL EAX
ADD ESP, 0x04
FAIL:
}
}
[/highlight]
[highlight=ASM]
PUSH EBP
MOV EBP, ESP
CMP DWORD PTR [EBP+0x8], 0
JNZ FAIL
MOV EAX, dwPtcAddr
CMP DWORD PTR [EAX], 0
JNZ FAIL
PUSH [EBP+0x8]
CALL EAX
ADD ESP, 0x04
POP EBP
[/highlight]
Last edited by topblast; 06-13-2011 at 03:33 PM.
I just like programming, that is all.
Current Stuff:
- GPU Programmer (Cuda)
- Client/Server (Cloud Server)
- Mobile App Development
'Batata! (06-15-2011),-Bl00d- (09-10-2011),AlessandrA10 (06-13-2011),[MPGH]Flengo (06-18-2011),HurleyppL (07-02-2011),pDevice (06-30-2012)
Use cpp instead of c++ in the highlighter
Good job
coogle007 (06-14-2011)
Good job, i needed addition[...]
But already had a *-------*
this is just nasty, once again there is no point in adding the if checks if all the function does is call sub function .............your really being hard headed
Last edited by SNal2F; 06-13-2011 at 02:41 PM.
Wtf cpp highlighter fucks up Brackets too
nvm topblast
[highlight=CPP]
typedef LPVOID funct(char* cmd);
void GameInfo::PushTC(char* command)
{
if(command == NULL)
goto FAIL;
if(*(PDWORD)dwPtcAddr == NULL)
goto FAIL;
funct func = NULL;
func = PVOID(dwPtcAddr);
func(command);
__asm add esp, 4
FAIL:
}
[/highlight]
I just like programming, that is all.
Current Stuff:
- GPU Programmer (Cuda)
- Client/Server (Cloud Server)
- Mobile App Development
Saltine (06-13-2011)
[highlight=CPP]#pragma pack(push)
typedef {
BYTE push;
char* command;
BYTE call;
DWORD ADDY;
} PTC_STRUCT;
#pragma pack(pop)
void GameInfo::PushTC(char* command)
{
if(command == NULL)
goto FAIL;
if(*(PDWORD)dwPtcAddr == NULL)
goto FAIL;
PTC_STRUcT func;
func.push = 0x68;
func.command = command;
func.call = 0xE8;
func.ADDY = dwPtcAddr;
void* callme;
memcpy(callme, func, sizeof(PTC_STRUCT));
callme();
__asm add esp, 4
FAIL:
}[/highlight]
I just like programming, that is all.
Current Stuff:
- GPU Programmer (Cuda)
- Client/Server (Cloud Server)
- Mobile App Development
Saltine (06-13-2011)
lol nice XD
steel o-o's sig =
= Done , = Not Done
Leecher 0 =
Newbie 25 =
Member 50 =
Advanced Member 100 =
H4X0R Member 150 =
Dual-Keyboard Member 250 =
Expert Member 500 =
's Trainer 750 =
MPGH Expert 1000 =
Synthetic Hacker 1250 =
Blackhat Hacker 1500 =
Whitehat Hacker 2000 =
's Guardian 2500 =
Upcoming MPGHiean 3000 =
MPGH Addict 3500 =
MPGHiean 4000 =
MPGH Knight 4500 =
MPGH Lord 5000 =
MPGH Champion 5500 =
MPGH King 6000 =
MPGH Legend 6500 =
MPGH God 7000 =
MPGH God II 7500 =
MPGH God III 8000 =
MPGH God IV 8500 =
MPGH God V 9000 =
Arun's Slave 9500 =
Dave's Slave 10000 =
Very creative, renaming the function to "PushTC"... :L