mirror of https://github.com/quasar/Quasar.git
Improved Builder Password validation
This commit is contained in:
parent
f516d6010f
commit
e396f45b88
|
@ -256,6 +256,15 @@ namespace xServer.Forms
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
string password = txtPassword.Text;
|
||||||
|
|
||||||
|
if (password.Length < 3)
|
||||||
|
{
|
||||||
|
MessageBox.Show("Please enter a secure password with more than 3 characters.",
|
||||||
|
"Please enter a secure password", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
string[] asmInfo = null;
|
string[] asmInfo = null;
|
||||||
if (chkChangeAsmInfo.Checked)
|
if (chkChangeAsmInfo.Checked)
|
||||||
{
|
{
|
||||||
|
@ -278,7 +287,7 @@ namespace xServer.Forms
|
||||||
asmInfo[7] = txtFileVersion.Text;
|
asmInfo[7] = txtFileVersion.Text;
|
||||||
}
|
}
|
||||||
|
|
||||||
ClientBuilder.Build(output, txtTag.Text, HostHelper.GetRawHosts(_hosts), txtPassword.Text, txtInstallsub.Text,
|
ClientBuilder.Build(output, txtTag.Text, HostHelper.GetRawHosts(_hosts), password, txtInstallsub.Text,
|
||||||
txtInstallname.Text + ".exe", txtMutex.Text, txtRegistryKeyName.Text, chkInstall.Checked, chkStartup.Checked,
|
txtInstallname.Text + ".exe", txtMutex.Text, txtRegistryKeyName.Text, chkInstall.Checked, chkStartup.Checked,
|
||||||
chkHide.Checked, chkKeylogger.Checked, int.Parse(txtDelay.Text), GetInstallPath(), icon, asmInfo,
|
chkHide.Checked, chkKeylogger.Checked, int.Parse(txtDelay.Text), GetInstallPath(), icon, asmInfo,
|
||||||
Application.ProductVersion);
|
Application.ProductVersion);
|
||||||
|
|
Loading…
Reference in New Issue