Skip to content

Instantly share code, notes, and snippets.

@erkanzileli
Created November 25, 2019 07:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erkanzileli/da44258b9d583fc4d6f1b3a1997a2428 to your computer and use it in GitHub Desktop.
Save erkanzileli/da44258b9d583fc4d6f1b3a1997a2428 to your computer and use it in GitHub Desktop.
#! /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