:) Blast Tech PTC :0

Posts 1–15 of 26 · Page 1 of 2
:) Blast Tech PTC :0
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]
Use cpp instead of c++ in the highlighter
Good job
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
Quote Originally Posted by SNal2F View Post
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
I am experimenting with the PTC method
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]
Nice release bro.
[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]
Quote Originally Posted by topblast View Post
[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]
goto fail
Quote Originally Posted by ~Shadowxeno View Post


goto fail
Spam much?

Anyways gj topblast
nice job top
Very creative, renaming the function to "PushTC"... :L
Posts 1–15 of 26 · Page 1 of 2
This thread is closed for replies.

Tags for this Thread

None

Need help?