![]() ![]() Throw exception("K32EnumProcessModules failed") If (K32GetModuleBaseNameA(hProcess, (HMODULE)modHandles, fn, sizeof(fn))) If (EnumProcessModulesEx(hProcess, (HMODULE*)modHandles.data(), szNeeded, &szNeeded, LIST_MODULES_32BIT))įor (int i = 0 i != (szNeeded / sizeof(HMODULE)) i++) If (DWORD szNeeded = GetModuleHandleArraySize(hProcess)) Static map GetProcessModules(HANDLE hProcess) If (!res) throw exception("K32EnumProcessModules failed") Try this and also try and have a delay or loop whilst the address is 0 because they are not loaded instantly.Įnumprocessmodulexe method (recommended but fix your handle)Ĭode: static DWORD GetModuleHandleArraySize(HANDLE hProcess)Īuto res = EnumProcessModulesEx(hProcess, 0, 0, &szNeeded, LIST_MODULES_32BIT) ![]() ![]() Update : so apparently if you attempt to iterate modules using the snapshot method on esportal you wont find the module but if you use enumprocessmoduleex with the handle from csrss it finds it fine. So I will do what was mentioned earlier in this thread to find the modules. However I installed esportal anti cheat today and my method I used on faceit to get module addresses didn't work on esportal. Either way using some thing like this will eventually get you banned after manual review because they monitor everything. you will need to use enumprocessmoduleex or the snapshot function with the correct flag.Īlso if you are using enumprocessmoduleex, you will need a handle to the game and I think faceit strips most handles (only csrss is viable tbh) so check with process hacker if this obs thing still has it's handles. Make sure that the method you are using enumerates 32 bit modules and test it without the AC open. I've never had an issue with finding module base addresses with faceit AC and I did play recently. sorry if that is still not rly clear but obviously im still kinda lost tryna understand stuff that I had no clue existed couple of weeks ago. just found a way to enum module using GetSystemInfo, gonna try that and see if that gets me anywhere. Sorry I tought maybe that was something known that faceit was doing something to hide client and engine module somehow, so what I did was stealing the handle from obs but then when I tried to call enumprocessmoduleex using the handle, nothing was coming out of it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |