예제 #1
0
 // Token: 0x06000003 RID: 3 RVA: 0x000020A8 File Offset: 0x000002A8
 private void SMTP(string pipe, string input)
 {
     if (global::MainDab.Classes.WeAreDevsAPI.ExploitAPI.NamedPipeExist(pipe))
     {
         try
         {
             using (global::System.IO.Pipes.NamedPipeClientStream namedPipeClientStream = new global::System.IO.Pipes.NamedPipeClientStream(".", pipe, global::System.IO.Pipes.PipeDirection.Out))
             {
                 namedPipeClientStream.Connect();
                 using (global::System.IO.StreamWriter streamWriter = new global::System.IO.StreamWriter(namedPipeClientStream))
                 {
                     streamWriter.Write(input);
                     streamWriter.Dispose();
                 }
                 namedPipeClientStream.Dispose();
             }
             return;
         }
         catch (global::System.IO.IOException)
         {
             global::System.Windows.Forms.MessageBox.Show("Error occured sending message to the game!", "Connection Failed!", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Hand);
             return;
         }
         catch (global::System.Exception ex)
         {
             global::System.Windows.Forms.MessageBox.Show(ex.Message.ToString());
             return;
         }
     }
     global::System.Windows.Forms.MessageBox.Show("Error occured. Did the dll properly inject?", "Oops", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Exclamation);
 }
예제 #2
0
        // Token: 0x06000003 RID: 3 RVA: 0x00002094 File Offset: 0x00000294
        public void Execute(string Script)
        {
            bool flag  = RevenantAPI.namedPipeExist(this.pipeName);
            bool flag2 = flag;

            if (flag2)
            {
                using (global::System.IO.Pipes.NamedPipeClientStream namedPipeClientStream = new global::System.IO.Pipes.NamedPipeClientStream(".", this.pipeName, global::System.IO.Pipes.PipeDirection.Out))
                {
                    namedPipeClientStream.Connect();
                    using (global::System.IO.StreamWriter streamWriter = new global::System.IO.StreamWriter(namedPipeClientStream, global::System.Text.Encoding.Default, 0xF423F))
                    {
                        streamWriter.Write(Script);
                        streamWriter.Dispose();
                    }
                    namedPipeClientStream.Dispose();
                }
            }
            else
            {
                bool flag3 = global::System.IO.File.Exists("Arch.dll");
                if (flag3)
                {
                    global::System.Windows.Forms.MessageBox.Show("Please attach!", "Error!", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Hand);
                }
            }
        }
예제 #3
0
 // Token: 0x06000004 RID: 4 RVA: 0x00002210 File Offset: 0x00000410
 public void ExecuteScript(string Script)
 {
     if (Module.namedPipeExist("ocybedam"))
     {
         using (global::System.IO.Pipes.NamedPipeClientStream namedPipeClientStream = new global::System.IO.Pipes.NamedPipeClientStream(".", "ocybedam", global::System.IO.Pipes.PipeDirection.Out))
         {
             namedPipeClientStream.Connect();
             using (global::System.IO.StreamWriter streamWriter = new global::System.IO.StreamWriter(namedPipeClientStream, global::System.Text.Encoding.Default, 0xF423F))
             {
                 streamWriter.Write(Script);
                 streamWriter.Dispose();
             }
             namedPipeClientStream.Dispose();
         }
         return;
     }
     if (global::System.IO.File.Exists("EasyExploitsDLL.dll"))
     {
         global::System.Windows.Forms.MessageBox.Show("Please attach!", "NamedPipeDoesntExist", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Hand);
         return;
     }
     //global::System.Windows.Forms.MessageBox.Show("Please turn off your antivirus! bruh", "DLLDoesntExist", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Hand);
 }
예제 #4
0
 // Token: 0x06000004 RID: 4 RVA: 0x00002448 File Offset: 0x00000648
 public void ExecuteScript(string Script)
 {
     try
     {
         if (global::MainDab.Classes.ShadowCheatsAPI.Pipes.DoesNamedPipeExist(global::MainDab.Classes.ShadowCheatsAPI.Pipes.ShadowCheats))
         {
             using (global::System.IO.Pipes.NamedPipeClientStream namedPipeClientStream = new global::System.IO.Pipes.NamedPipeClientStream(".", MainDab.Classes.ShadowCheatsAPI.Pipes.ShadowCheats, global::System.IO.Pipes.PipeDirection.Out))
             {
                 namedPipeClientStream.Connect();
                 using (global::System.IO.StreamWriter streamWriter = new global::System.IO.StreamWriter(namedPipeClientStream))
                 {
                     streamWriter.Write(Script);
                     streamWriter.Dispose();
                 }
                 namedPipeClientStream.Dispose();
             }
         }
     }
     catch (global::System.Exception ex)
     {
         global::System.Console.WriteLine("[{0}] [Shadow Cheats] -> Unexpected Error: {1}", global::System.DateTime.Now.ToLongTimeString(), ex.Message);
         global::System.Windows.Forms.MessageBox.Show("Uh oh. Shadow Cheats has reached a roadblock. You can find a detailed error in the console.", "Shadow Cheats", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Exclamation);
     }
 }