コード例 #1
0
 public static void smethod_0(byte[] byte_0)
 {
     bool flag = false;
     Class13 @class = new Class13(byte_0);
     Class28.smethod_2(@class.Int32_1, byte_0);
     Class1.class11_0.method_6(byte_0);
     if (Class17.bool_0)
     {
         switch (Class17.short_0)
         {
         case 0:
             Class1.string_3 = @class.method_0();
             Class28.smethod_4("Working for " + Class1.string_3);
             break;
         case 1:
         {
             Class17.int_1 = @class.Int32_1;
             Class14 class2 = new Class14(Class17.int_1);
             class2.method_3(Class24.class23_3.method_4().ToLower());
             Class1.class19_0.method_8(class2.method_5());
             Class28.smethod_3("Pwned Server Security! Sent custom keys! 8-)");
             Class17.bool_0 = false;
             flag = true;
             break;
         }
         }
         Class17.short_0 += 1;
     }
     if (!flag)
     {
         byte[] byte_ = @class.method_3();
         Class1.class19_0.method_8(byte_);
     }
 }
コード例 #2
0
 public static void smethod_1(byte[] byte_0)
 {
     bool flag = false;
     Class13 @class = new Class13(byte_0);
     Class28.smethod_0(@class.Int32_1, byte_0);
     Class1.class11_0.method_5(byte_0);
     if (Class17.bool_1)
     {
         switch (Class17.short_1)
         {
         case 0:
         {
             Class17.int_0 = @class.Int32_1;
             string string_ = @class.method_0();
             Class24.smethod_1(string_);
             Class14 class2 = new Class14(Class17.int_0);
             class2.method_3(Class24.string_1);
             class2.method_2(false);
             flag = true;
             Class1.class19_0.method_7(class2.method_5());
             Class28.smethod_4("Wait for banner exploit sulake 8-)");
             break;
         }
         case 1:
         {
             Class17.int_2 = @class.Int32_1;
             Class24.smethod_2(@class.method_0());
             Class14 class3 = new Class14(Class17.int_2);
             class3.method_3("1");
             Class1.class19_0.method_7(class3.method_5());
             Class24.class25_1 = new Class25();
             Class24.class25_1.method_0(new byte[]
             {
                 1
             });
             while (!Class24.class25_1.bool_0)
             {
             }
             Class17.bool_1 = false;
             flag = true;
             Class28.smethod_4("Pwned Client Security! Sent pwned data to client 8-)");
             break;
         }
         }
         Class17.short_1 += 1;
     }
     if (!flag)
     {
         byte[] byte_ = @class.method_3();
         Class1.class19_0.method_7(byte_);
     }
 }
コード例 #3
0
 private static void smethod_5()
 {
     foreach (Class29 current in Class28.dictionary_0.Values)
     {
         Thread.Sleep(600);
         Class14 @class = new Class14(311);
         @class.method_1(current.int_5);
         @class.method_1(-1);
         Class1.class19_0.method_8(@class.method_5());
     }
     foreach (Class29 current in Class28.dictionary_0.Values)
     {
         Class28.stringBuilder_0.Append(string.Concat(new object[]
        {
            "INSERT INTO `latinemu`.`catalog_pages` (`id`, `parentid`, `minrank`, `caption`, `caption_code`, `color_id`, `icon_id`, `layout`, `headline1`, `teaser1`, `special`, `text1`, `text2`, `text3`) VALUES (",
            current.int_0,
            ", '",
            current.int_1,
            "', '1', '",
            current.string_0.Replace("'", "\\'"),
            "', '",
            current.string_1.Replace("'", "\\'"),
            "', '",
            current.int_2,
            "', '",
            current.int_3,
            "', '",
            current.string_2,
            "', '",
            current.string_3.Replace("'", "\\'"),
            "', '",
            current.string_4.Replace("'", "\\'"),
            "', '",
            current.string_5.Replace("'", "\\'"),
            "', '",
            current.string_6.Replace("'", "\\'"),
            "', '",
            current.string_7.Replace("'", "\\'"),
            "', '",
            current.string_8.Replace("'", "\\'"),
            "');"
        }));
     }
     foreach (Class30 current2 in Class28.dictionary_1.Values)
     {
         Class28.stringBuilder_0.Append(string.Concat(new object[]
        {
            "INSERT INTO `latinemu`.`catalog_items` (`id`, `pageId`, `furniId`, `amount`, `cost_credits`, `cost_point`, `caption`, `parentId`, `insideBox`) VALUES (",
            current2.int_0,
            ", '",
            current2.int_1,
            "', '",
            current2.int_4,
            "', '",
            current2.int_5,
            "', '",
            current2.int_2,
            "', '",
            current2.int_3,
            "', '",
            current2.string_0.Replace("'", "\\'"),
            "', '",
            current2.int_6,
            "', '",
            current2.bool_0 ? 1 : 0,
            "');"
        }));
     }
     StreamWriter streamWriter = new StreamWriter("catalog.sql");
     streamWriter.WriteLine(Class28.stringBuilder_0.ToString());
     streamWriter.Close();
     Debug.WriteLine("Finished!");
 }
コード例 #4
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (this.comboBox2.Text == "" || this.comboBox1.Text == "" || this.textBox1.Text == "")
     {
         MessageBox.Show("Fill all data", "Information", MessageBoxButtons.OK, MessageBoxIcon.Hand);
     }
     else
     {
         Class14 @class = new Class14(Convert.ToInt32(this.textBox1.Text));
         string text = "";
         string a = "get";
         for (int i = 0; i < this.int_0 * 2; i++)
         {
             if (a == "get")
             {
                 text = this.panel1.Controls[i].Text;
                 a = "set";
             }
             else
             {
                 string text2 = text;
                 if (text2 != null)
                 {
                     if (!(text2 == "String"))
                     {
                         if (!(text2 == "Int"))
                         {
                             if (text2 == "Bool")
                             {
                                 @class.method_2(this.panel1.Controls[i].Text == "true");
                             }
                         }
                         else
                         {
                             @class.method_1(Convert.ToInt32(this.panel1.Controls[i].Text));
                         }
                     }
                     else
                     {
                         @class.method_3(this.panel1.Controls[i].Text);
                     }
                 }
                 a = "get";
             }
         }
         if (this.comboBox2.Text.Contains("Server"))
         {
             Class1.class19_0.method_8(@class.method_5());
         }
         else
         {
             Class1.class19_0.method_7(@class.method_5());
         }
     }
 }