Ola pessoal percebi que muitos estao interessados em criar hackers vou fazer uma serie de post com sources e Conhecimentos especificos para ajudar nas criaçoes do mesmo !
Hello I noticed that many people are interested in creating hackers will do a series of post with sources and specific knowledge to help the creations of the same!
Auto shot PB
//=============AutoShot===========
DWORD adr_autoshot_1 =FindPattern((DWORD)GetModuleHandleA("pointblank.exe.exe"),0x630000,(PBYTE)"\x88\x81\x66\x01\x00\x00","xxxxxx");// i3Framework::GetViewer(void) +17A (FF 15 64 5C 8E 00)
DWORD adr_autoshot_2 = adr_autoshot_1 + 0x8;//5D0257
DWORD ret_autoshot = adr_autoshot_1 + 0x26;
DWORD ret_autoshot_2 = adr_autoshot_2 + 0xA;
void Click2()
{
MEMwrite((void *)((DWORD)GetModuleHandleA("i3inputDx.dll") + 0x22C0),(void *)"\x8B\x41\x01",3);
}
void UNClick2()
{
MEMwrite((void *)((DWORD)GetModuleHandleA("i3inputDx.dll") + 0x22C0),(void *)"\x8B\x41\x28",3); //джон лопух))
}
void Click()
{
//EndEnable2= true;
MEMwrite((void *)((DWORD)GetModuleHandleA("i3inputDx.dll") + 0x22B0),(void *)"\x8B\x41\x01",3);
}
void UNClick()
{
//EndEnable2 = false;
MEMwrite((void *)((DWORD)GetModuleHandleA("i3inputDx.dll") + 0x22B0),(void *)"\x8B\x41\x24",3);
}
__declspec(naked)void autoshot_1()
{
_asm
{
mov [ecx+358], al
call [UNClick]
jmp [ret_autoshot]
}
}
__declspec(naked)void autoshot_2()
{
_asm
{
mov ecx, [ebp-32]
mov byte ptr [ecx+356], 255
call [Click]
jmp [ret_autoshot_2]
}
}
__declspec(naked)void autoshot_1_off()
{
_asm
{
mov [ecx+358], al
jmp [ret_autoshot]
}
}
__declspec(naked)void autoshot_2_off()
{
_asm
{
mov ecx, [ebp-32]
mov byte ptr [ecx+356], 255
jmp [ret_autoshot_2]
}
}
HRESULT APIENTRY AvtoShot()
{
while(1)
{
//_________(АвтоВыстрел)__________//
if(Fun.autoshot==1)
{
DetourCreate((PBYTE)adr_autoshot_1,(PBYTE)autoshot_1,5);
DetourCreate((PBYTE)adr_autoshot_2,(PBYTE)autoshot_2,5);
}
if(Fun.autoshot==0)
{
DetourCreate((PBYTE)adr_autoshot_1,(PBYTE)autoshot_1_off,5);
DetourCreate((PBYTE)adr_autoshot_2,(PBYTE)autoshot_2_off,5);
}
Sleep(500);
}
return true;
}