4 ms·
Oh, DLLs. I vaguely remember thee. :) Once upon a time(tm), I took advantage of the DLL directory search order to crack or change behavior in annoying software
by sacnoradhq 3y ago
Oh, DLLs. I vaguely remember thee. :)
Once upon a time(tm), I took advantage of the DLL directory search order to crack or change behavior in annoying software. I would compile a proxy DLL to a system DLL that would handle the symbols I was interested in and send all other calls onto the real DLL unmodified. I forgot the mechanism and it probably doesn't work anymore in Windows 11.
Edit: Basically:
C:\Program Files\Brand\Some App\SYSTEM32.DLL <- mine and this one is loaded ahead of the real system one.
- therein 3y agoThat is documented behavior that should still be valid to this day.
- userbinator 3y agoI believe putting a proxy DLL alongside the main EXE still works. It's the current working directory that's been removed from the search path for security reasons (and IMHO that does make sense.)