You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run .exe from memory returns 0x80131538 code (https://github.com/marcussacana/RemoteControl/blob/master/RemoteControl/HResults.cs). [+] Loaded CLR into this process [+] Got default AppDomain [+] Loaded 3584 bytes into memory from TestExe.exe [+] Crated SafeArray from byte array 2021/03/08 18:30:57 appDomain.Load_3 returned 0x80131538
I've also used your C# code from your blog post and it is also causes error.
The quick fix for this is: hr = appDomain.Load_3(uintptr(unsafe.Pointer(safeArray)), &rawAssemblyAddr)
instead of hr = appDomain.Load_3(uintptr(unsafe.Pointer(&safeArray)), &rawAssemblyAddr)
The text was updated successfully, but these errors were encountered:
Run .exe from memory returns 0x80131538 code (https://github.com/marcussacana/RemoteControl/blob/master/RemoteControl/HResults.cs).
[+] Loaded CLR into this process [+] Got default AppDomain [+] Loaded 3584 bytes into memory from TestExe.exe [+] Crated SafeArray from byte array 2021/03/08 18:30:57 appDomain.Load_3 returned 0x80131538
I've also used your C# code from your blog post and it is also causes error.
The quick fix for this is:
hr = appDomain.Load_3(uintptr(unsafe.Pointer(safeArray)), &rawAssemblyAddr)
instead of
hr = appDomain.Load_3(uintptr(unsafe.Pointer(&safeArray)), &rawAssemblyAddr)
The text was updated successfully, but these errors were encountered: