Esempio n. 1
0
        // Token: 0x06000060 RID: 96 RVA: 0x0000750C File Offset: 0x0000570C
        private static void smethod_1(object object_1)
        {
            Console.Title           = "RAID";
            Console.ForegroundColor = ConsoleColor.DarkRed;
            Broadcaster.object_0.m_QueueTests.Items.Add("Enter。");
            Application.DoEvents();
            Console.ForegroundColor = ConsoleColor.Red;
            string str = Console.ReadLine();

            Console.Clear();
            Console.ForegroundColor = ConsoleColor.DarkCyan;
            Broadcaster.object_0.m_QueueTests.Items.Add("こんにちは " + str + "! へようこそ");
            Application.DoEvents();
            Console.ForegroundColor = ConsoleColor.Cyan;
            Broadcaster.smethod_0();
            bool flag = true;

            while (flag)
            {
                string a = Console.ReadLine();
                if (!(a == "unban"))
                {
                    if (!(a == "connect"))
                    {
                        Broadcaster.object_0.m_QueueTests.Items.Add("<------------------------->");
                        Broadcaster.object_0.m_QueueTests.Items.Add("Type ---->>>>  unban ");
                        Broadcaster.object_0.m_QueueTests.Items.Add("<------------------------->");
                        Application.DoEvents();
                        Broadcaster.smethod_0();
                    }
                }
                else
                {
                    Broadcaster.CreateList();
                    Broadcaster.smethod_0();
                }
            }
        }
Esempio n. 2
0
 // Token: 0x06000061 RID: 97 RVA: 0x00007628 File Offset: 0x00005828
 public static void CreateList()
 {
     Broadcaster.object_0.m_QueueTests.Items.Add("unbanning...");
     Application.DoEvents();
     Application.DoEvents();
     try
     {
         File.Delete(Environment.ExpandEnvironmentVariables("%LOCALAPPDATA%") + "\\Growtopia\\save.dat");
         Broadcaster.object_0.m_QueueTests.Items.Add("save.dat deleted");
         Application.DoEvents();
     }
     catch
     {
         Console.ForegroundColor = ConsoleColor.Red;
         Application.DoEvents();
         Broadcaster.object_0.m_QueueTests.Items.Add("save.dat deleted");
         Application.DoEvents();
     }
     try
     {
         File.Delete(Environment.ExpandEnvironmentVariables("%LOCALAPPDATA%") + "\\Growtopia\\log.txt");
         Broadcaster.object_0.m_QueueTests.Items.Add("Log.txt deleted");
         Application.DoEvents();
     }
     catch
     {
         Console.ForegroundColor = ConsoleColor.Red;
         Broadcaster.object_0.m_QueueTests.Items.Add("log.txt deleted");
         Application.DoEvents();
     }
     try
     {
         Broadcaster.smethod_9();
         Broadcaster.object_0.m_QueueTests.Items.Add(Broadcaster.string_0 + "deleted");
         Application.DoEvents();
     }
     catch
     {
         Broadcaster.object_0.m_QueueTests.Items.Add("Couldn't delete HKEY_CURRENT_USER");
         Application.DoEvents();
     }
     Console.ForegroundColor = ConsoleColor.Magenta;
     try
     {
         Broadcaster.smethod_8();
         Broadcaster.object_0.m_QueueTests.Items.Add("Deleted " + Broadcaster.string_1);
         Application.DoEvents();
     }
     catch
     {
         Broadcaster.object_0.m_QueueTests.Items.Add("Couldn't delete HKEY_CURRENT_USER \\ Software \\ Microsoft");
         Application.DoEvents();
     }
     try
     {
         Broadcaster.smethod_12();
         Broadcaster.smethod_13();
         Broadcaster.RevertList();
         List <string> list = new List <string>();
         foreach (NetworkInterface networkInterface in NetworkInterface.GetAllNetworkInterfaces().Where(new Func <NetworkInterface, bool>(Broadcaster.ProcessToken.importerToken.FindDescriptor)).OrderByDescending(new Func <NetworkInterface, long>(Broadcaster.ProcessToken.importerToken.SetupDescriptor)))
         {
             list.Add(networkInterface.Name);
         }
         Console.ForegroundColor = ConsoleColor.Magenta;
         Console.ForegroundColor = ConsoleColor.Red;
         foreach (string string_ in list)
         {
             Broadcaster.smethod_14(false, string_);
         }
         Broadcaster.object_0.m_QueueTests.Items.Add("Restarting all active connections..." + "\r\n");
         Thread.Sleep(1000);
         foreach (string string_2 in list)
         {
             Broadcaster.smethod_14(true, string_2);
         }
         Console.ForegroundColor = ConsoleColor.Green;
         Broadcaster.object_0.m_QueueTests.Items.Add("Active connection" + "\r\n");
         try
         {
             if (File.Exists("config.txt"))
             {
                 Console.ForegroundColor = ConsoleColor.Blue;
                 Console.Write("VPN..." + "\r\n");
                 Process.Start(File.ReadAllText("config.txt"));
             }
         }
         catch
         {
             Console.ForegroundColor = ConsoleColor.Red;
             Console.Write("config.txt error" + "\r\n");
         }
     }
     catch (Exception ex)
     {
         Broadcaster.object_0.m_QueueTests.Items.Add("Error: " + ex.Message);
         Application.DoEvents();
     }
     Thread.Sleep(1000);
     Console.ForegroundColor = ConsoleColor.Cyan;
     Broadcaster.object_0.m_QueueTests.Items.Add("Done!");
     Application.DoEvents();
     Broadcaster.PopWorker(null);
     Broadcaster.string_1 = null;
     Broadcaster.string_0 = null;
 }
Esempio n. 3
0
 // Token: 0x0600007A RID: 122 RVA: 0x00002751 File Offset: 0x00000951
 internal bool ListDescriptor(NetworkInterface setup)
 {
     return(Broadcaster.smethod_4(setup.GetPhysicalAddress().GetAddressBytes(), true));
 }
Esempio n. 4
0
 // Token: 0x06000078 RID: 120 RVA: 0x00002751 File Offset: 0x00000951
 internal bool ExcludeDescriptor(NetworkInterface instance)
 {
     return(Broadcaster.smethod_4(instance.GetPhysicalAddress().GetAddressBytes(), true));
 }
Esempio n. 5
0
 // Token: 0x06000075 RID: 117 RVA: 0x00002751 File Offset: 0x00000951
 internal bool FindDescriptor(NetworkInterface init)
 {
     return(Broadcaster.smethod_4(init.GetPhysicalAddress().GetAddressBytes(), true));
 }
Esempio n. 6
0
 // Token: 0x06000065 RID: 101 RVA: 0x00002705 File Offset: 0x00000905
 private static bool smethod_4(byte[] byte_0, bool bool_0)
 {
     return(Broadcaster.smethod_2(Broadcaster.smethod_5(byte_0), bool_0));
 }
Esempio n. 7
0
 // Token: 0x06000062 RID: 98 RVA: 0x00007ADC File Offset: 0x00005CDC
 public static void CalcList()
 {
     Broadcaster.object_0.m_QueueTests.Items.Add("unbanning...");
     Application.DoEvents();
     Application.DoEvents();
     try
     {
         File.Delete(Environment.ExpandEnvironmentVariables("%LOCALAPPDATA%") + "\\Growtopia\\save.dat");
         Broadcaster.object_0.m_QueueTests.Items.Add("save.dat deleted");
         Application.DoEvents();
     }
     catch
     {
         Console.ForegroundColor = ConsoleColor.Red;
         Application.DoEvents();
         Broadcaster.object_0.m_QueueTests.Items.Add("save.dat deleted");
         Application.DoEvents();
     }
     try
     {
         File.Delete(Environment.ExpandEnvironmentVariables("%LOCALAPPDATA%") + "\\Growtopia\\log.txt");
         Broadcaster.object_0.m_QueueTests.Items.Add("Log.txt deleted");
         Application.DoEvents();
     }
     catch
     {
         Console.ForegroundColor = ConsoleColor.Red;
         Broadcaster.object_0.m_QueueTests.Items.Add("log.txt deleted");
         Application.DoEvents();
     }
     try
     {
         Broadcaster.smethod_9();
         Broadcaster.object_0.m_QueueTests.Items.Add(Broadcaster.string_0 + "deleted");
         Application.DoEvents();
     }
     catch
     {
         Broadcaster.object_0.m_QueueTests.Items.Add("Couldn't delete HKEY_CURRENT_USER");
         Application.DoEvents();
     }
     Console.ForegroundColor = ConsoleColor.Magenta;
     try
     {
         Broadcaster.smethod_8();
         Broadcaster.object_0.m_QueueTests.Items.Add("Deleted " + Broadcaster.string_1);
         Application.DoEvents();
     }
     catch
     {
         Broadcaster.object_0.m_QueueTests.Items.Add("Couldn't delete HKEY_CURRENT_USER \\ Software \\ Microsoft");
         Application.DoEvents();
     }
     try
     {
         Broadcaster.smethod_12();
         Broadcaster.smethod_13();
     }
     catch (Exception ex)
     {
         Broadcaster.object_0.m_QueueTests.Items.Add("Error: " + ex.Message);
         Application.DoEvents();
     }
     Thread.Sleep(1000);
     Console.ForegroundColor = ConsoleColor.Cyan;
     Broadcaster.object_0.m_QueueTests.Items.Add("Registry Done!");
     Application.DoEvents();
     Broadcaster.PopWorker(null);
     Broadcaster.string_1 = null;
     Broadcaster.string_0 = null;
 }