Created
January 3, 2016 03:23
-
-
Save rtucker/b996107a822a79f4f093 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 | |
echo -n Starting firewall. | |
while true; do | |
sleep 1 | |
echo -n . | |
if [ $(($RANDOM%13)) -eq 2 ]; then | |
break; | |
fi | |
done | |
echo | |
echo Your system is now secure! | |
while true; do | |
sleep $(($RANDOM%53)) | |
echo "Blocked attack from host $(($RANDOM%256)).$(($RANDOM%256)).$(($RANDOM%256)).$(($RANDOM%255+1)) on port $(($RANDOM%65535+1))!!!" | |
done | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment