Linux下网络工具

来源:互联网 发布:禁忌搜索算法ppt 编辑:程序博客网 时间:2024/05/16 04:37

1.fping

apt-get install fping

-a 显示存活的
-g 查找范围

查看当前网络上的主机

fping -a -g 192.168.16.1 192.168.16.254orfping -a -g 192.168.16.0/24

2.nmap

nmap -PS 192.168.16.*  or nmap -PS 192.168.16.0/24

3.hping

wget https://github.com/antirez/hping/archive/master.zipunzip mastercd hping-masterapt-get install libpcap-devel./configuremake//提示:如果提示bpf.h 无法找到你ln -s /usr/include/pcap/bpf.h  /usr/include/net/bpf.hmake install
0 0