Skip to content
Snippets Groups Projects
Commit 6db25367 authored by Lauri Koivunen's avatar Lauri Koivunen :tools:
Browse files

wilkas WIP

parent 2245fc04
Branches
Tags
No related merge requests found
Pipeline #61393 passed
#include<Keyboard.h>
#define KEY_DELAY 50
void setup() {
/* KeyboardLayout_da_DK: Denmark
KeyboardLayout_de_DE: Germany
KeyboardLayout_en_US: USA
KeyboardLayout_es_ES: Spain
KeyboardLayout_fr_FR: France
KeyboardLayout_it_IT: Italy
KeyboardLayout_sv_SE: Sweden
*/
delay(100);
Keyboard.begin(KeyboardLayout_sv_SE);
// Might lose first button presses otherwise
delay(2545);
Keyboard.press(KEY_LEFT_SHIFT);
delay(KEY_DELAY);
Keyboard.press(KEY_LEFT_CTRL);
delay(KEY_DELAY);
Keyboard.press('a');
delay(400);
Keyboard.releaseAll();
delay(400);
Keyboard.print("wilkas");
Keyboard.releaseAll();
delay(600);
Keyboard.press(224);
Keyboard.releaseAll();
delay(600);
Keyboard.press(KEY_LEFT_CTRL);
Keyboard.press('f');
delay(KEY_DELAY);
Keyboard.releaseAll();
delay(KEY_DELAY);
Keyboard.print("toiminnot");
delay(KEY_DELAY);
Keyboard.press(KEY_LEFT_CTRL);
delay(KEY_DELAY);
Keyboard.press(224);
delay(KEY_DELAY);
Keyboard.releaseAll();
delay(845);
// lahetetyt
Keyboard.press(KEY_LEFT_CTRL);
Keyboard.press('f');
delay(KEY_DELAY);
Keyboard.releaseAll();
Keyboard.print("hetetyt");
delay(KEY_DELAY);
Keyboard.press(KEY_LEFT_CTRL);
delay(KEY_DELAY);
Keyboard.println("");
delay(KEY_DELAY);
Keyboard.releaseAll();
delay(745);
// esko
Keyboard.press(KEY_LEFT_CTRL);
Keyboard.press('f');
delay(KEY_DELAY);
Keyboard.releaseAll();
Keyboard.print("esko");
delay(KEY_DELAY);
Keyboard.press(KEY_ESC);
Keyboard.releaseAll();
delay(777);
// checkbox
Keyboard.press(KEY_LEFT_SHIFT);
Keyboard.press(KEY_TAB);
Keyboard.print(" ");
delay(KEY_DELAY);
Keyboard.releaseAll();
delay(745);
// toiminnot
Keyboard.press(KEY_LEFT_CTRL);
Keyboard.press('f');
delay(KEY_DELAY);
Keyboard.releaseAll();
Keyboard.print("toiminnot");
delay(KEY_DELAY);
Keyboard.press(KEY_LEFT_CTRL);
Keyboard.println("");
Keyboard.releaseAll();
delay(845);
// huoltaj
Keyboard.press(KEY_LEFT_CTRL);
Keyboard.press('f');
delay(KEY_DELAY);
Keyboard.releaseAll();
Keyboard.print("huoltaj");
delay(KEY_DELAY);
Keyboard.press(KEY_LEFT_CTRL);
Keyboard.println("");
Keyboard.releaseAll();
delay(845);
// työpöytä
Keyboard.press(KEY_LEFT_CTRL);
Keyboard.press('f');
delay(KEY_DELAY);
Keyboard.releaseAll();
Keyboard.print("ty");
delay(KEY_DELAY);
Keyboard.press(KEY_LEFT_CTRL);
delay(KEY_DELAY);
Keyboard.println("");
delay(KEY_DELAY);
Keyboard.releaseAll();
// Don't really do anything, don't even loop
delay(230000);
}
void loop() {
delay(1234);
}
#include<Keyboard.h>
#define KEY_DELAY 50
void setup() {
/* KeyboardLayout_da_DK: Denmark
KeyboardLayout_de_DE: Germany
KeyboardLayout_en_US: USA
KeyboardLayout_es_ES: Spain
KeyboardLayout_fr_FR: France
KeyboardLayout_it_IT: Italy
KeyboardLayout_sv_SE: Sweden
*/
Keyboard.begin(KeyboardLayout_sv_SE);
// Might lose first button presses otherwise
delay(4345);
// Windows
Keyboard.press(KEY_LEFT_GUI);
Keyboard.press('r');
delay(KEY_DELAY);
Keyboard.releaseAll();
// Linux
Keyboard.press(KEY_LEFT_ALT);
Keyboard.press(KEY_F2);
delay(KEY_DELAY);
Keyboard.releaseAll();
// Open attack website
delay(KEY_DELAY*5);
Keyboard.println("https://angreifer.org");
// Make it more menancing (F11 = Fullscreen)
delay(2345);
Keyboard.releaseAll();
delay(1345);
Keyboard.press(KEY_F11);
delay(KEY_DELAY);
Keyboard.releaseAll();
// Don't really do anything, don't even loop
delay(230000);
}
void loop() {
delay(1234);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment