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