Grabbing dem modules

Posts 1–3 of 3 · Page 1 of 1
Grabbing dem modules
ayo bois, im new with this gamehacking stuff and im currently in need of some help with grabbing modules. My goal is currently to create a simple bhop external hack for csgo, and i need to get the client.dll :P

I have looked at some source codes on the webs but i dont want to c+p. I see there are a lot of function going on when creating the function to grab the module(s), and i were wondering in what order do i follow to create the function?

Would appreciate any help i can get :P
currently i have:
Code:
MODULEENTRY32 entry;
                                sizeof(entry);
Quote Originally Posted by c0bra12 View Post
ayo bois, im new with this gamehacking stuff and im currently in need of some help with grabbing modules. My goal is currently to create a simple bhop external hack for csgo, and i need to get the client.dll :P

I have looked at some source codes on the webs but i dont want to c+p. I see there are a lot of function going on when creating the function to grab the module(s), and i were wondering in what order do i follow to create the function?

Would appreciate any help i can get :P
currently i have:
Code:
MODULEENTRY32 entry;
                                sizeof(entry);
If you want to enum modules through a snapshot, then u should be looking at CreateToolHelp32Snapshot and the following functions: Module32First, Module32Next.
1. You say you don't want to do 'c+p' but u are asking in a c/c++ forum.
2. Your question is very unclear.

You can easily get all modules bound to a specific process with the WIN API functions which are written in C.
There are many approaches how one could get a specific module handle this is only one example:
- Use OpenProcess() to open a process with reading rights.
- Use the returned process handle to enumerate all the processes modules with EnumProcessModules(). This will return a module handle for every module found.
- Use GetModuleBaseName() to get the file name of the current module (will return e.g. csgo.exe or client.dll)
- If you got client.dll use the modules handle to get module information via GetModuleInformation() which will fill a data structure with entry point and adress size of the module

Good Luck
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?