Aqui também, e olha que estou só com Crosshair no game --'
PELO JEITO ESTÃO DETECTANDO HOOKS NOVAMENTE. AS MINHAS DUAS ESTÃO DANDO DC DENTRO DO JOGO !!!
Aqui também, e olha que estou só com Crosshair no game --'
Detour, porem tem uma postada de uma certa base que funciona ! procurem bitch
@Megaloco
sem Conexão encerrada.
Last edited by Coder.Anonymous; 12-12-2013 at 03:11 PM.
Claro[...]
WFBR:
PBBR:
CABR:
Estas cego ?
/forum/397-combat-arms-br-hack-coding-source-code/767147-outro-detours-do-we11.html
Detour1 não detectado ainda.
Code:rhkReset = ( tReset ) DetourCreateType( ( PBYTE )Device[16], ( PBYTE )&hkReset, 16, Detour1 ); rhkPresent = ( tPresent ) DetourCreateType( ( PBYTE )Device[17], ( PBYTE )&hkPresent, 10, Detour1 );
isso da DC antes de entrar no CA:
Code:DWORD vTable[2] = {0}; CreateDevice(vTable); oReset = ( tReset ) DetourCreateType( ( PBYTE )vTable[16], ( PBYTE )&ResetDevice, 16, Detour1 ); oPresent = ( tPresent ) DetourCreateType( ( PBYTE )vTable[17], ( PBYTE )&PresetDevice, 10, Detour1 );
Vlw essa hook com switch case está ON !!!
edit : Detour 100% funcional...vlw !!!
Last edited by Megaloco; 12-12-2013 at 05:38 PM.
O problema de detectar em seu caso não sei te dizer o que é, pois bem, não sei como esta o seu código após esse trecho que você mencionou. Mas em Windows 7 32 Bits, funciona dessa maneira com esse detour modo:
Code:LPVOID DetourCreate( PBYTE pbTargetFunction, PBYTE pbDetourFunction, INT intSize ) { DWORD dwProtect; PBYTE pbDetour = ( PBYTE )malloc( intSize + 5 ); VirtualProtect( pbTargetFunction, intSize, PAGE_EXECUTE_READWRITE, &dwProtect ); memcpy( pbDetour, pbTargetFunction, intSize ); pbDetour += intSize; *( BYTE * ) ( pbDetour + 0 ) = 0xE9; *( DWORD * )( pbDetour + 1 ) = ( DWORD )( pbTargetFunction + intSize - pbDetour ) - 5; *( BYTE * ) ( pbTargetFunction + 0 ) = 0xB8; *( DWORD * )( pbTargetFunction + 1 ) = ( DWORD )( pbDetourFunction ); *( WORD * ) ( pbTargetFunction + 5 ) = 0xE0FF; for( INT i = 7; i < intSize; i++ ) *( BYTE * )( pbTargetFunction + i ) = 0x90; VirtualProtect( pbTargetFunction, intSize, dwProtect, &dwProtect ); return ( pbDetour - intSize ); }Windows 7 32 e 64 Bits.Code:DWORD vTable[2] = {0}; CreateDevice(vTable); oReset = ( tReset ) DetourCreate( ( PBYTE )vTable[16], ( PBYTE )&ResetDevice, ResetSize ); oPresent = ( tPresent ) DetourCreate( ( PBYTE )vTable[17], ( PBYTE )&PresetDevice, PresentSize );
ResetSize com esses valores: 11, 12, 13 e 16.
PresentSize com esses valores: 7 e 10.
MEU DEUS VEIO.
VC INICIALIZA 2 DWORD com nome vTable e chama elas como 16 e 17 sendo na CreateDevice deve ser vTable[0] e vTable[1], PQP QUE BURIÇ !DWORD vTable[2] = {0};
CreateDevice(vTable);
oReset = ( tReset ) DetourCreate( ( PBYTE )vTable[16], ( PBYTE )&ResetDevice, ResetSize );
oPresent = ( tPresent ) DetourCreate( ( PBYTE )vTable[17], ( PBYTE )&PresetDevice, PresentSize );
KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK