Locked Inject Dll Byte Array To Remote Process

  • 22. března 2012 10:15
     
     

    Hi iam simon,

    i want to ask how can inject dll contained in my resource of my vb.net application into remote process without writing the dll to disk

    but LoadLibrary Needs the path of dll so how can i inject dll byte array into remote process in vb.net or c# ?

Všechny reakce

  • 26. března 2012 3:57
    Moderátor
     
     Odpovědět

    Hi Simon,

    Welcome to the MSDN Forum.

    Please refer to this method: http://msdn.microsoft.com/en-us/library/h538bck7.aspx 

    Loads the assembly with a common object file format (COFF)-based image containing an emitted assembly. The assembly is loaded into the application domain of the caller.

    You can pass the byte data of the assembly to the load function.

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.