unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > First-Person Shooters > Other FPS Games > Swat 4

- Sponsored Advertisement -
http://www.myfpscheats.com/


Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2010, 04:32 AM
disco disco is offline
Administrator
 
Join Date: Feb 2010
Posts: 271
Default Disable UAC Checks

Posted by mhabaco.




If anyone is intreasted this will disable UAC security checks ...
I am still working on screenshot function..

With this it will not show you as suspected of cheating

Code:
typedefvoid *(APIENTRY *tUACHook)();
tUACHook pUACHook;

DWORD bytes;

BYTE NopSix[6] = {0x90,0x90,0x90,0x90,0x90,0x90};
BYTE NopFive[5] = {0x90,0x90,0x90,0x90,0x90};
BYTE NopFour[4] = {0x90,0x90,0x90,0x90};
BYTE NopThree[3] = {0x90,0x90,0x90};
BYTE NopTwo[2] = {0x90,0x90};

void APIENTRY h_UACHook()
{
__asm
{
pushad
je _ret
}
WriteProcessMemory(GetCurrentProcess(), (void*)(0x56DD38), NopTwo, sizeof(NopTwo), &bytes);
_asm
{
_ret:
popad
jmp pUACHook
}

}

DWORD WINAPI InitalizeThread(LPVOID Parameter)
{
char *ModName = NULL;
while(!ModName)
{
ModName = GetModule("UAC");
Sleep(10);
}
pUACHook = (tUACHook)DetourFunc((BYTE*)(0x56DD38), (BYTE*)h_UACHook, 5);

while(bExit == 0)
{
Sleep(10);
}
return 1;
}


BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
switch(ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
{
DisableThreadLibraryCalls(hModule);
hLoadThread = CreateThread(NULL, 0, InitalizeThread, NULL, NULL, NULL);
if(!hLoadThread)
{
MessageBox(HWND_DESKTOP, "Error creating start thread", "Error", MB_OK);
return 1;
}
break;
}

return TRUE;
}
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
check, checks, disable, uac

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 04:42 PM.