OutdatedSource code for Bypassing Hack

Posts 31–45 of 81 · Page 3 of 6
Quote Originally Posted by XxGhostPandaxX View Post
LOL u want dave to change this forum to cod ghost
OPEN YOUR EYES ---> COD GHOST
Take a look this forum is dead people are living in bs so what the point this is old game
Quote Originally Posted by COD3RIN View Post


Take a look this forum is dead people are living in bs so what the point this is old game
change topic =-=....because blackshot dun have pro release public....if release faster patching....
Quote Originally Posted by XxGhostPandaxX View Post
change topic =-=....because blackshot dun have pro release public....if release faster patching....
even there is a pro coder it useless i guess to him there is a better game like this....for example AVA in COD no one care in blackshot take a look in other forum if you search in google blackshot hack what you can see few forum have a bs hack.....
Quote Originally Posted by COD3RIN View Post

even there is a pro coder it useless i guess to him there is a better game like this....for example AVA in COD no one care in blackshot take a look in other forum if you search in google blackshot hack what you can see few forum have a bs hack.....
hrmmm...maybe the is not famous???? what u mean PB is dead???
Quote Originally Posted by XxGhostPandaxX View Post
hrmmm...maybe the is not famous???? what u mean PB is dead???
take a look project blackout forum is dead
Quote Originally Posted by COD3RIN View Post

take a look project blackout forum is dead
owh i see...hrmmmm
Quote Originally Posted by XxGhostPandaxX View Post
owh i see...hrmmmm
next time this forum
Quote Originally Posted by XxGhostPandaxX View Post
owh i see...hrmmmm
If you want to copy signatures, at least ask... People will report you if you continue copying....
Quote Originally Posted by Caezer99 View Post
If you want to copy signatures, at least ask... People will report you if you continue copying....
got rules =-=...copy signature....T_T sorry..
Ask Dave to Make a Forum of PointBlank..GARENA PointBlank OPEN ~
Quote Originally Posted by HachikoJES View Post
Ask Dave to Make a Forum of PointBlank..GARENA PointBlank OPEN ~
point black is already dead my friend may
Quote Originally Posted by COD3RIN View Post
Some important code for bypassing hack



Code:
#include <Windows.h> #include <stdio.h> #include <Psapi.h> td_NtQuerySystemInformation NtQuerySystemInformation = NULL; td_NtQueryObject NtQueryObject = NULL; td_NtDuplicateObject NtDuplicateObject = NULL; BOOL Init() { HMODULE hNtdll = GetModuleHandle(TEXT("ntdll.dll")); if(!hNtdll) return FALSE; NtQuerySystemInformation = (td_NtQuerySystemInformation)GetProcAddress(hNtdll, "NtQuerySystemInformation"); NtQueryObject = (td_NtQueryObject)GetProcAddress(hNtdll, "NtQueryObject"); NtDuplicateObject = (td_NtDuplicateObject)GetProcAddress(hNtdll, "NtDuplicateObject"); return (NtQuerySystemInformation && NtQueryObject && NtDuplicateObject); } BOOL AcquireDebugPrivilege() { HANDLE hToken = NULL; if(!OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &hToken)) return FALSE; BOOL bSuccess = FALSE; TOKEN_PRIVILEGES tp; tp.PrivilegeCount = 1; if(LookupPrivilegeValue(0, SE_DEBUG_NAME, &tp.Privileges[0].Luid)) { tp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; if(AdjustTokenPrivileges(hToken, 0, &tp, sizeof(tp), 0, 0)) bSuccess = TRUE; } CloseHandle(hToken); return bSuccess; } BOOL IsProcessFound(DWORD dwProcessId, PSYSTEM_PROCESS_INFORMATION pInfos) { PSYSTEM_PROCESS_INFORMATION pCurrent = pInfos; while(TRUE) { if((DWORD)pCurrent->UniqueProcessId == dwProcessId) return TRUE; if(pCurrent->NextEntryOffset == 0) break; pCurrent = (PSYSTEM_PROCESS_INFORMATION)((DWORD_PTR)pCurrent + pCurrent->NextEntryOffset); } return FALSE; } BOOL DetectHiddenProcesses(PUINT piCount) { if(!piCount) return FALSE; *piCount = 0; // first, we retrieve the process list (this is dirty but the only way) DWORD dwLen = sizeof(SYSTEM_PROCESS_INFORMATION); PSYSTEM_PROCESS_INFORMATION pProcessInfos = (PSYSTEM_PROCESS_INFORMATION)malloc(dwLen); while(pProcessInfos) { NTSTATUS status = NtQuerySystemInformation(SystemProcessInformation, pProcessInfos, dwLen, &dwLen); if(NT_SUCCESS(status)) break; else if(status != STATUS_INFO_LENGTH_MISMATCH) { free(pProcessInfos); return FALSE; } free(pProcessInfos); pProcessInfos = (PSYSTEM_PROCESS_INFORMATION)malloc(dwLen); } if(!pProcessInfos) return FALSE; // secondly, we retreive all open handle dwLen = sizeof(SYSTEM_HANDLE_INFORMATION); PSYSTEM_HANDLE_INFORMATION pHandleInfos = (PSYSTEM_HANDLE_INFORMATION)malloc(dwLen); while(pHandleInfos) { NTSTATUS status = NtQuerySystemInformation(SystemHandleInformation, pHandleInfos, dwLen, &dwLen); if(NT_SUCCESS(status)) break; else if(status != STATUS_INFO_LENGTH_MISMATCH) { free(pHandleInfos); return FALSE; } free(pHandleInfos); pHandleInfos = (PSYSTEM_HANDLE_INFORMATION)malloc(dwLen); } if(!pHandleInfos) return FALSE; // now, we find all handle to a process POBJECT_TYPE_INFORMATION pType = (POBJECT_TYPE_INFORMATION)malloc(4096); if(!pType) { free(pHandleInfos); free(pProcessInfos); return FALSE; } for(ULONG i = 0; i < pHandleInfos->HandleCount; i++) { DWORD dwOwner = pHandleInfos->Handles[i].ProcessId; HANDLE hHandle = (HANDLE)pHandleInfos->Handles[i].Handle; HANDLE hOwner = OpenProcess(PROCESS_DUP_HANDLE, FALSE, dwOwner); if(hOwner == NULL) continue; // we duplicate the handle so we can query it HANDLE hHandleLocal = NULL; NTSTATUS status = NtDuplicateObject(hOwner, hHandle, GetCurrentProcess(), &hHandleLocal, 0, 0, DUPLICATE_SAME_ACCESS | DUPLICATE_SAME_ATTRIBUTES); if(NT_SUCCESS(status)) { // now we query its type status = NtQueryObject(hHandleLocal, ObjectTypeInformation, pType, 4096, NULL); if(NT_SUCCESS(status)) { if(pType->TypeName.Buffer && wcscmp(pType->TypeName.Buffer, L"Process") == 0) { DWORD dwProcessId = GetProcessId(hHandleLocal); // check if the process is not hidden if(!IsProcessFound(dwProcessId, pProcessInfos)) { // hoho here we go wchar_t szProcess[MAX_PATH]; if(GetProcessImageFileNameW(hHandleLocal, szProcess, MAX_PATH) == 0) wcscpy_s(szProcess, L"<Unknown>"); printf("[%0.4d] %ws\n", dwProcessId, szProcess); (*piCount)++; } } } } CloseHandle(hOwner); } free(pType); free(pHandleInfos); free(pProcessInfos); return TRUE; } int main(int argc, char* argv[]) { UINT iHiddenCount = 0; if(!AcquireDebugPrivilege()) { printf("Unable to acquire debug privilege.\n"); return EXIT_FAILURE; } if(!Init()) { printf("Initialization failure.\r\n"); return EXIT_FAILURE; } DetectHiddenProcesses(&iHiddenCount); printf("Found %d hidden process%s.\r\n", iHiddenCount, (iHiddenCount > 1 ? "es" : "")); return EXIT_SUCCESS; }


You need creativity for this code

Credit by: how02


Does Copy Paste Works?
Quote Originally Posted by XxGhostPandaxX View Post
Awards for you...hahahaha
Copying of signature award goes to you!
damn fell like hell back..hahahahhahahah xD
Lol, Lol,Lol,Lol,Lol,Lol,Lol,Lol,Lol,Lol,Lol,
Posts 31–45 of 81 · Page 3 of 6
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?