From 954be5967de2226e038fb6f77049cdf622af8583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Gro=C3=9F?= Date: Wed, 19 Sep 2018 21:37:50 +0200 Subject: [PATCH] Fixed GetFlag script for basically gambling The script now connects to the live server on port 6646 Netcat required a timeout on some systems or the connection won't terminate automatically, causing the GetFlag script to be stuck at attempt one forever. --- basically gambling/getflag_b46.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basically gambling/getflag_b46.sh b/basically gambling/getflag_b46.sh index ef4d4ef..c0a6b42 100755 --- a/basically gambling/getflag_b46.sh +++ b/basically gambling/getflag_b46.sh @@ -5,7 +5,7 @@ while :; do echo "Attempt ${ATTEMPT}..." ATTEMPT=$[ATTEMPT + 1] - RESULT=$(nc localhost 6667 | base64 -d | strings | grep "MNZ{") + RESULT=$(nc ctf.minzkraut.com 6646 -w2 | base64 -d | strings | grep "MNZ{") if [[ $RESULT ]]; then echo "Found the flag" echo $RESULT