예제 #1
0
 public virtual void Hook(string args)
 {
     if (this.Process.Id == System.Diagnostics.Process.GetCurrentProcess().Id)
     {
         ApplyHook(args);
     }
     else
     {
         RemoteProcess p = new RemoteProcess(this.Process);
         p.Open();
         p.LoadDotNetModule(Assembly.GetExecutingAssembly().Location, typeof(ApplicationHook).FullName, "Implant", this.GetType().Assembly.Location + ";" + this.GetType().FullName + ";" + (args ?? ""));
     }
 }
예제 #2
0
 public RemoteModule(RemoteProcess process, ProcessModule module)
 {
     this.Process = process;
     this.Module  = module;
 }