222 B
222 B
for i in $(seq 1 254.; do nc -zv -w 1 172.16.228.$i 445; done
For fuller scans see Tools/nmap and Tools/autorecon; they pair well with SSH tunnels in Linux/Tunnel/ssh when only restricted access is available.