Created
November 25, 2019 07:25
-
-
Save erkanzileli/da44258b9d583fc4d6f1b3a1997a2428 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 | |
for i in $(seq 100); do | |
bash -c "echo '' >/dev/tcp/$IP/8080" 2>/dev/null | |
if [ $? -eq 0 ]; then | |
break | |
fi | |
echo -n . | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment