首页 > 代码库 > ubuntu IP 扫描

ubuntu IP 扫描

/******************************************************************************* *                            ubuntu IP 扫描 * 说明: *     找个工具进行IP少描,看看路由器上连接了哪些设备。 * *                                              2016-9-4 深圳 南山平山村 曽剑锋 ******************************************************************************/一、参考文档:    1. ubuntu下扫描同一局域网的IP        http://blog.csdn.net/cuiaamay/article/details/51822308 二、操作:    1. sudo apt-get install arp-scan    2. arp-scan -I wlan0 --localnet三、运行现象:    root@zengjf:/home/zengjf# arp-scan -I wlan0 --localnet    Interface: wlan0, datalink type: EN10MB (Ethernet)    Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)    192.168.1.1 ec:26:ca:7d:f0:e2   (Unknown)    192.168.1.103   68:a3:c4:ce:3a:80   Liteon Technology Corporation    192.168.1.105   18:59:36:89:7d:47   (Unknown)    192.168.1.100   a4:db:30:9e:fc:d9   (Unknown)    192.168.1.112   68:a3:c4:ce:3a:80   Liteon Technology Corporation    5 packets received by filter, 0 packets dropped by kernel    Ending arp-scan 1.8.1: 256 hosts scanned in 1.335 seconds (191.76 hosts/sec). 5 responded

 

ubuntu IP 扫描