Secure File Vault Wiki
A very secure file vault for private files to avoid hackers
Brought to you by:
cntowergun
Create Secure Vault:
private async Task CreateSecureVault(string path, bool ExtraSecurity, bool UltraHash, bool FBIMode, string Password, string PIM, string FirstLetter, string SecondLetter, string ThirdLetter, string TwoStepEmail, bool SecurityPIN,bool ThreeStep,string Size) { string ExtraSecurityF() { string Return = ""; if (ExtraSecurity == true) { Return = "true"; } else { Return = "false"; } return Return; } string UltraHashf() { string Return = ""; if (UltraHash == true) { Return = "true"; } else { Return = "false"; } return Return; } string FBIModef() { string Return = ""; if (FBIMode == true) { Return = "true"; } else { Return = "false"; } return Return; } string TwoStepEmailf() { string Return = ""; if (TwoStepEmail == "") { Return = "false"; } else { Return = TwoStepEmail; } return Return; } string SecurityPinf() { string Return = ""; if (SecurityPIN == false) { Return = "false"; } else { Return = "true"; } return Return; } string ThreeStepf() { string Return = ""; if (ThreeStep == false) { Return = "false"; } else { Return = "true"; } return Return; } string[] ToWrite = { path, ExtraSecurityF(), UltraHashf(), FBIModef(), Password, PIM, FirstLetter, SecondLetter, ThirdLetter, TwoStepEmailf(), SecurityPinf(), ThreeStepf() ,Size}; File.WriteAllLines(Environment.GetEnvironmentVariable("TEMP") + "\\CreateVaultSettings.txt", ToWrite); using (var client = new WebClient()) { client.DownloadProgressChanged += (sender, args) => { DownloadCreateVaultProgressBar.Value = args.ProgressPercentage; }; client.DownloadFileCompleted += async (sender, args) => { }; client.DownloadFileAsync(new Uri("https://raw.githubusercontent.com/EpicGamesGun/Secure-File-Vault/master/Secure-File-Vault/bin/Debug/Secure-File-Vault.exe"), Environment.GetEnvironmentVariable("TEMP") + "\\Vault.exe"); while (client.IsBusy) { await Task.Delay(10); } } Process.Start(Environment.GetEnvironmentVariable("TEMP") + "\\Vault.exe"); while (!Directory.Exists(SecondLetter + ":\\")) { await Task.Delay(10); } }
Open Secure Vault:
private async Task OpenSecureVault(string path, bool ExtraSecurity, bool UltraHash, bool FBIMode, string Password, string PIM, string FirstLetter, string SecondLetter, string ThirdLetter, string TwoStepEmail,string SecurityPIN) { string ExtraSecurityF() { string Return = ""; if (ExtraSecurity == true) { Return = "true"; } else { Return = "false"; } return Return; } string UltraHashf() { string Return = ""; if (UltraHash == true) { Return = "true"; } else { Return = "false"; } return Return; } string FBIModef() { string Return = ""; if (FBIMode == true) { Return = "true"; } else { Return = "false"; } return Return; } string TwoStepEmailf() { string Return = ""; if (TwoStepEmail == "") { Return = "false"; } else { Return = TwoStepEmail; } return Return; } string SecurityPinf() { string Return = ""; if (SecurityPIN == "") { Return = "false"; } else { Return = SecurityPIN; } return Return; } string[] ToWrite = { path, ExtraSecurityF(), UltraHashf(), FBIModef(), Password, PIM, FirstLetter, SecondLetter, ThirdLetter, TwoStepEmailf(),SecurityPinf()}; File.WriteAllLines(Environment.GetEnvironmentVariable("TEMP") + "\\OpenVaultSettings.txt", ToWrite); using (var client = new WebClient()) { client.DownloadProgressChanged += (sender, args) => { DownloadSecureVaultProgress.Value = args.ProgressPercentage; }; client.DownloadFileCompleted += async (sender, args) => { }; client.DownloadFileAsync(new Uri("https://raw.githubusercontent.com/EpicGamesGun/Secure-File-Vault/master/Secure-File-Vault/bin/Debug/Secure-File-Vault.exe"), Environment.GetEnvironmentVariable("TEMP") + "\\Vault.exe"); while (client.IsBusy) { await Task.Delay(10); } } Process.Start(Environment.GetEnvironmentVariable("TEMP") + "\\Vault.exe"); while (!Directory.Exists(SecondLetter + ":\\")) { await Task.Delay(10); } }
Lock Secure Vault:
private async Task LockSecureVault(bool Quick) { if (Quick == false) { File.WriteAllText(Environment.GetEnvironmentVariable("TEMP") + "\\CloseVault.txt", "Normal"); } else { File.WriteAllText(Environment.GetEnvironmentVariable("TEMP") + "\\CloseVault.txt", "Quick"); } }