my_ip=$(ifconfig eth0 | grep 'inet' | cut -d: -f2 | awk '{print $2}') network=$(echo $my_ip | sed 's/.[0-9]$/.*/') worker=$(nmap -sP $network | grep worker_1 | awk '{print $NF}' | tr -d '()') sudo hping3 -p 80 --flood --icmp $worker