whokilleddb/load-my-clr

Technique doesn't work on version 2 of the CLR

Closed this issue · 1 comments

It appears that this technique does not work with version 2 of the CLR

version2

I have multiple versions of the CLR on my system and the code will select the first version of the runtime that it finds. If the "break" on line 86 of customloader.c is removed then the last version of the CLR will be selected and the technique works (in the case you also have version 2 on your OS)

verison4

Not sure why the technique fails on version 2 but i tested this on several systems and always get:

[!] ICLRRuntimeHost_ExecuteInDefaultAppDomain() function failed (0x8013101b)

Hi @shazar14 can you open a PR with the fix? Thanks!