#!/bin/bashhost=("10.200.87") # change thisfor host in ${host[@]}; doecho-e"\n[+] Enumerating $host.0/24"for i in $(seq1254);dotimeout1bash-c"ping -c 1 $host.$i"&> /dev/null &&echo"[+] Host $host.$i - ACTIVE"&done; waitdone
Port Scanner Script
#!/bin/bashhost=("<host-to-scan>")for host in ${host[@]}; doecho-e"\n[+] Scanning Ports: $host"for i in $(seq110000);dotimeout1bash-c"echo '' > /dev/tcp/$host/$i"2>/dev/null&&echo"[+] Port $i - ACTIVE"&done; waitdone