Created
February 21, 2015 20:59
-
-
Save francislewis/c2942a7bc0158dcab3a0 to your computer and use it in GitHub Desktop.
Randomly play "let it go" on a victims PC
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 | |
#Will automatically force their volume to be set to max. You may want to adjust this so it isn't too loud | |
amixer -D pulse sset Master unmute&&amixer -D pulse sset Master 100% | |
#This will generate a number between 150 and 1, the value will be stored in the NUMBER variable | |
NUMBER=$[ ( $RANDOM % 150 ) + 1 ] | |
#This will open up a video specified to a random time | |
vlc --start-time $NUMBER https://www.youtube.com/watch?v=L0MK7qz13bU |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment