Ejemplo n.º 1
0
 // Token: 0x06000003 RID: 3 RVA: 0x00002110 File Offset: 0x00000310
 public static void ExecuteScript(string Script)
 {
     if (!ApiModule.namedPipeExist("462B9C47BB16AF43C5CF0BB7C970349DCEA20D1BFB8AA87E688BAF8E93553B0F"))
     {
         MessageBox.Show("Please attach!", "NamedPipeDoesntExist", MessageBoxButtons.OK, MessageBoxIcon.Hand);
         return;
     }
     using (NamedPipeClientStream namedPipeClientStream = new NamedPipeClientStream(".", "462B9C47BB16AF43C5CF0BB7C970349DCEA20D1BFB8AA87E688BAF8E93553B0F", PipeDirection.Out))
     {
         namedPipeClientStream.Connect();
         using (StreamWriter streamWriter = new StreamWriter(namedPipeClientStream, Encoding.Default, 999999))
         {
             streamWriter.Write(Script);
             streamWriter.Dispose();
         }
         namedPipeClientStream.Dispose();
     }
 }
Ejemplo n.º 2
0
 // Token: 0x06000008 RID: 8 RVA: 0x0000230C File Offset: 0x0000050C
 public static void LaunchExploit()
 {
     if (ApiModule.namedPipeExist("462B9C47BB16AF43C5CF0BB7C970349DCEA20D1BFB8AA87E688BAF8E93553B0F"))
     {
         MessageBox.Show("Already Attached!", "NamedPipeExist!", MessageBoxButtons.OK, MessageBoxIcon.Hand);
         return;
     }
     if (!CheckUpdate() && File.Exists("ApiModuleDLL.dll"))
     {
         InjectDLL();
         return;
     }
     if (DownloadDLL())
     {
         InjectDLL();
         return;
     }
     MessageBox.Show("Cant download the lastest version!", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Hand);
 }