Join Date: Mar 2011
Posts: 29
User-Rating:
|
TEXT Code: DWORD GetModuleBase(LPSTR lpModuleName, DWORD dwProcessId) { MODULEENTRY32 lpModuleEntry = { 0 }; HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, dwProcessId); if (!hSnapShot) return NULL; lpModuleEntry.dwSize = sizeof(lpModuleEntry); BOOL bModule = Module32First(hSnapShot, &lpModuleEntry); while (bModule) { bModule = Module32Next(hSnapShot, &lpModuleEntry); } CloseHandle(hSnapShot); return NULL; }
Ausgaben:
Meins: pID: 7452 Base: (null) CE: pID: 7452 Base: 00905A4D
__________________
TEXT Code: cout << "Veröffentliche Hacks: Unbekannt" << endl;
|