网络扫描利器Fing之Linux版本使用教程


 

​Fing是一款好用的网络监测扫描管理软件,这款软件能够很好的去帮助用户查看当前网络的信息等,且能够方便的管理超多样的设备,整合了大量的网络管理功能,使用起来也相当方便

另外可以下载 /版本

 

1、使用Fing的网络扫描仪扫描网络,并发现连接到任何网络的所有设备

2、运行互联网速度测试、WiFi速度测试、下载速度和上传速度分析和延迟(手机APP)

3、获取IP地址、地址、设备名称、型号、供应商和制造商的最准确设备识别

4、NetB、UPnP、SNMP和Bonjour名称,属性和设备类型的高级设备分析

5、检测Wi-Fi入侵者,在每次扫描时显示您的新未知设备 (手机APP)

6、包括端口扫描、设备ping、traceroute、查找和LAN唤醒

1、下载fing

https://www.fing.com/images/uploads/general/CLI__RPM_5.5.2.zip

解压取出fing-5.5.2-amd64.rpm

 

然后rpm -ivh fing-5.5.2-amd64.rpm进行安装

rpm -ivh fing-5.5.2-amd64.rpm

 

7下使用fing命令报错 原因为libstdc++.so.6的版本过低造成,解决办法:编译升级gcc到高版本

 


 

下面为了演示方便直接使用Fedora32系统来测试

在Fedora32下正常运行

 


 


 

2、fing的常用用法

fing -h查看命令帮助

[root@fedora ~]# fing -h
=== Fing 5.5.2 - www.fing.io ===
CLI options:

Helper:
  -h [ --help ]             show this help message  -v [ --version ]          show fing version  --interactive             start the interactive mode
Command List:
  -i [ --info ]             show network informations  -n [ --netdiscover ] arg  run network discovery  -s [ --servicescan ] arg  scan services on host/network  -p [ --ping ] arg         run icmp ping on the hosts  -T [ --traceroute ] arg   run traceroute on the specified host  -w [ --wol ] arg          send wake on lan command on targets
Command Options:
  -d [ --rdns ] arg         enable/disable reverse DNS lookups  -o [ --output ] arg       use output setup for discovery/scan/ping  -P [ --profile ] arg      use specific discovery/scan/ping profile  -r [ --rounds ] arg       number of rounds for discovery  -m [ --maxports ] arg     max ports for scan  --session arg             use specific discovery session file  --silent                  force to silent mode
  

3、用法举例

1) fing -i 查看网络信息

fing -i
或
fing --info

 

2) fing -n 网络发现

fing -n 192.168.31.0/24

 

3) fing -p ping测试

fing -p www.baidu.com
fing -p www.baidu.com www.taobao.com

 

4) fing -T Traceroute测试

fing -T 114.114.114.114

 

5) fing -s 端口扫描

fing -s 192.168.31.155

 

默认扫描哪些端口全部定义在/etc/fing/ip-services.properties文件中

可以自定义添加扫描端口 vi /etc/fing/ip-services.properties 例如192.168.31.155的SSH默认22端口已经修改成6122了,添加的格式如下

tcp.6122=Private OpenSSH ; Private OpenSSH Port ; scan

这时再进行扫描就可以扫到了

 


 

6) fing -w 网络唤醒

fing -w 74:d4:35:88:68:e6@192.168.31.51

 

抓取的报文可以过滤出WOL网络唤醒协议的报文

 

7) fing --interactive交互模式

fing --interactive

 


 

8) fing -o结果输出到文件

fing -o table,,/opt/192.168.31.1.html -n 192.168.31.1/24 

 


 

以上就是fing工具的常规用法,其它用法可以参考官方User_Guide手册 https://www.fing.com/images/uploads/general/Fing_CLI_-User_Guide-_v1.3.pdf

胜象大百科