#!/bin/bash
echo "=== AWStats public page (themakingsofme.com) ==="
curl -g -sk -m 12 -H "Host: themakingsofme.com" https://216.70.69.240/plesk-stat/webstat/current/index.html -o /tmp/aw.html
echo "bytes: $(wc -c < /tmp/aw.html)"
sed 's/<[^>]*>//g' /tmp/aw.html | tr -s ' \n' ' ' | head -c 900
echo
echo "=== spray5 ==="
date -u
tail -3 /root/recon/plesk_spray5.log
ps -eo pid,comm,args | awk '$2=="python3" && /plesk_spray5/ {print "running", $1}'
echo "=== barracuda ==="
tail -1 /root/recon/bdui_stats.log
