Reloaded-Project / Reloaded.Injector

C# DLL Injection Library capable of injecting x86 DLLs to x86 process from x64 processes.
GNU Lesser General Public License v3.0
161 stars 32 forks source link

Fix: 32bit systems trying to get SysWOW64 directory #14

Closed Drobor closed 1 year ago

Drobor commented 1 year ago

On 32bit windows GetSystemWow64Directory doesnt do anything, basically leaving builder empty after execution. That leads to a file not found error while trying to pass "\kernel32.dll" string to PeFile constructor Since 32bit windows has only one kenel32 this codepath shouldn't be executed

Sewer56 commented 1 year ago

LGTM