How about a RemoveAttributesAttribute?

Oct 22, 2009 at 2:58 PM

Jason, I just got the sample running .... pretty cool!.  

As I was looking in Reflector at the injected exe, I noticed the attributes are still there .... which made me think of one of Dotfuscator's attributes that tells it to remove its attributes when completed ... so the injected assembly would just have the injected code if an assembly attribute of something like RemoveInjectorAttributes was there or something...

Oct 22, 2009 at 3:01 PM
Edited Oct 22, 2009 at 3:01 PM

Another idea just crossed my mind ... how about if there are no types referenced in the Injectors.Core.dll after the attributes are removed - it also removes the reference to that dll?