rapid7 / rex-powershell

Rex library for dealing with Powershell Scripts
Other
53 stars 35 forks source link

Update GetMethod for GetProcAddress for Windows 10 1803 #12

Closed chervaliery closed 6 years ago

chervaliery commented 6 years ago

Windows 10 1803 adds an override on GetProcAddress that accepts a pointer to a handle, so we need to specify which function override we want. We can do this by supplying an array of argument types we want.

Solution from: https://github.com/EmpireProject/Empire/pull/1146

Fix: https://github.com/rapid7/metasploit-framework/issues/10032

busterb commented 6 years ago

Thanks!