Last active
January 23, 2018 06:09
-
-
Save Denton-L/5eab6c3876984bcdd0df1f689aecba58 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/sh | |
IP_HEAD=`ip route | perl -ne '/^(\d{1,3}\.\d{1,3}\.\d{1,3}\.)\d{1,3}\/\d{1,2} dev/ && print $1'` | |
for i in `seq 0 255` | |
do | |
curl -X POST $IP_HEAD$i:1337/lock --connect-timeout 1 > /dev/null 2>&1 & | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment