#!/bin/sh # # RAAAAAAAPE for scum in `netstat -an | grep ESTAB | cut -f5-8 -d"." | grep ^80 | cut -c11- | sort -u` do ponk=`netstat -an | grep ESTAB | grep $scum | wc -l` if [ "$ponk" -gt "5" ] then echo "$ponk $scum" /usr/bin/hammerslam $scum fi done