Created
December 29, 2015 21:30
-
-
Save anonymous/0299b536dabd8ee59529 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 | |
# http://matelight.rocks | |
j=0; | |
while true; do | |
for y in `seq 1 16`; do | |
for x in `seq 1 40`; do | |
#red | |
printf "\x$(printf "%x" "$((($x+$j)%255))")"; | |
#green | |
printf "\x$(printf "%x" "$((($x+$y+$j)%255))")"; | |
#blue | |
printf "\x$(printf "%x" "$((($y+$j)%255))")"; | |
done | |
done > buffer.crap; | |
j=$(($j+23)); | |
cat buffer.crap > /dev/udp/matelight.visitor.congress.ccc.de/1337; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
btw, you can probably do without
cat
by using a direct redirection to/dev/udp