Posted April 10, 20241 yr Hi, I'm looking for C++ loader source code that works on x64 applications with ASLR If someone can help I would really appreciate it
April 15, 20241 yr Just use GetModuleHandle(). Quote HMODULE hModule = GetModuleHandle(ModuleName); uintptr_t base_of_code = (uintptr_t)hModule; uintptr_t patch_va = base_of_code + rva;
November 23, 2024Nov 23 Due to the differences in memory addressing and architecture between 32& 64bit systems you need a few adjustments to inject code into a 64bit process with ASLR Pointers: are wide , so you need to make sure you're using appropriate types like uintptr_t for addresses, and LPVOID for memory allocations. Memory Allocation: Functions work similarly to 32bit systems, but you need to make sure you're handling 64bit addresses correctly.
Create an account or sign in to comment