Skip to content

Instantly share code, notes, and snippets.

@jgagner
Last active September 15, 2017 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jgagner/9394673 to your computer and use it in GitHub Desktop.
Save jgagner/9394673 to your computer and use it in GitHub Desktop.
#!/bin/bash
#sets the victims desktop to beiber.
/usr/bin/curl https://gist.githubusercontent.com/jgagner/9393470/raw/6ea21b41c27f22cd9fd50d7659ab314b8bfd8403/belieber.jpg > /tmp/belieber.jpg.base64
/usr/bin/base64 -D --input /tmp/belieber.jpg.base64 -o ~/belieber.jpg
/usr/bin/osascript -e "tell application \"System Events\" to set picture of every desktop to \"~/belieber.jpg\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment