列出所有连接到本地网络的设备
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了列出所有连接到本地网络的设备相关的知识,希望对你有一定的参考价值。
Bash script to list all devices (ip and hostname) connected to your local network.Some formatting is done, and a summary is printed at the end.
Requires nmap.
#!/bin/bash NETWORK="192.168.1.0/24" #Output formatting BOLD="