first commit

Version 3.x.x
This commit is contained in:
VNGhostMans
2023-05-14 20:21:09 +07:00
parent a3037a8db3
commit 5ec92ee05e
1166 changed files with 1036539 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
using System;
using System.Reflection;
using System.Windows.Forms;
namespace forms_cil
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private bool CheckPassword(string pwd)
{
UInt64 magicNum;
return (UInt64.TryParse(pwd, out magicNum) && magicNum % 17 == 13);
}
[VMProtect.BeginVirtualization]
private void btnCheckPassword_Click(object sender, EventArgs e)
{
if (CheckPassword(txtPassword.Text))
{
MessageBox.Show(VMProtect.SDK.DecryptString("Correct password"), VMProtect.SDK.DecryptString("Password check"), MessageBoxButtons.OK, MessageBoxIcon.Information);
} else
{
MessageBox.Show(VMProtect.SDK.DecryptString("Incorrect password"), VMProtect.SDK.DecryptString("Password check"), MessageBoxButtons.OK, MessageBoxIcon.Error);
txtPassword.Focus();
}
}
}
}