PDA

View Full Version : Using a loader to inject a dll



bmx3r
12-13-2003, 11:16 PM
ok i need a small tut on how to motify a loader to inject a dll. Since the last pb update my hack has become detected (now detects opengl in folder) I have a loader source and my hack source but dont no where to go from here.
The loader src was made by noskill.

The path would be..."C://Program files/Soldier of Fortune II-Double Helix"

And i assume i could name my opengl32.dll to anything then?
Any help will be much appeciated.

BiGmAc
12-14-2003, 03:31 AM
you cant inject wrappers to my knowledge, u need to make a hook

xen
12-14-2003, 07:05 AM
I haven't tested this but i'm pretty sure you can inject a wrapgen into HL with an OGC loader, I think I used to do that.

e]v[pty`
12-14-2003, 08:48 AM
You can.

Cheetah
12-15-2003, 02:48 PM
Inject a dll that hooks LoadLibrary then check when it's looking for the dll you want to wrap and instead of return oLoadLibrary( szFileName ); just do oLoadLibrary( myfile... );

done. Library hooked.

bmx3r
12-22-2003, 05:28 PM
k... got a loader to load my dll but its still detected :( . LoL damn pb the ***gy anticheat.