Re-doing the work from earlier

This commit is contained in:
Ubergeek committed 2019-02-07 00:32:58 +00:00
1 parent afe9b34945
commit ddbe0ba4ee
10 files changed
+42 -10

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
export SITE=$1
timeout 2 bash -c "</dev/tcp/${SITE}/2222" > /dev/null
if [ $? -ne "0" ]
then
exit 1
else
exit 0
fi