Example #1
0
 public bool EraseDllHeaders(int targetProcessId, string dllPath)
 {
     using (var injectionManager = new InjectionManager(targetProcessId, dllPath, true, RandomiseDllName))
     {
         return(injectionManager.CallInjectionExtension <EraseDllHeaders>());
     }
 }
Example #2
0
 public bool EraseDllHeaders(int targetProcessId, byte[] dllBytes)
 {
     using (var injectionManager = new InjectionManager(targetProcessId, dllBytes, false, true, RandomiseDllName))
     {
         return(injectionManager.CallInjectionExtension <EraseDllHeaders>());
     }
 }
Example #3
0
 public bool EjectDll(string targetProcessName, string dllPath)
 {
     using (var injectionManager = new InjectionManager(targetProcessName, dllPath, true, RandomiseDllName))
     {
         return(injectionManager.CallInjectionExtension <EjectDll>());
     }
 }
Example #4
0
 public bool EjectDll(string targetProcessName, byte[] dllBytes)
 {
     using (var injectionManager = new InjectionManager(targetProcessName, dllBytes, false, true, RandomiseDllName))
     {
         return(injectionManager.CallInjectionExtension <EjectDll>());
     }
 }
Example #5
0
 public bool UnlinkDllFromPeb(int targetProcessId, string dllPath)
 {
     using (var injectionManager = new InjectionManager(targetProcessId, dllPath, true, RandomiseDllName))
     {
         return(injectionManager.CallInjectionExtension <UnlinkDllFromPeb>());
     }
 }
Example #6
0
 public bool UnlinkDllFromPeb(int targetProcessId, byte[] dllBytes)
 {
     using (var injectionManager = new InjectionManager(targetProcessId, dllBytes, false, true, RandomiseDllName))
     {
         return(injectionManager.CallInjectionExtension <UnlinkDllFromPeb>());
     }
 }