Beispiel #1
0
 public CommandExecuter(Core.Utility.TaskMsg task, NamedPipeClientStream pipe, Core.Utility.CookiedWebClient wc, byte[] aeskey, byte[] aesiv, string agentid, string processname)
 {
     this.task        = task;
     this.pipe        = pipe;
     this.wc          = wc;
     this.aeskey      = aeskey;
     this.aesiv       = aesiv;
     this.agentid     = agentid;
     this.processname = processname;
 }
Beispiel #2
0
 public CommandExecuter(Core.Utility.TaskMsg task, Worker w)
 {
     this.task   = task;
     pipe        = w.pipe;
     wc          = w.wc;
     aeskey      = w.aeskey;
     aesiv       = w.aesiv;
     agentid     = w.agentid;
     processname = w.spawnp;
     host        = w.host;
     port        = w.port;
     pagepost    = w.pagepost;
     pageget     = w.pageget;
     param       = w.param;
     worker      = w;
 }