一 安装hping步骤

mkdir -p /usr/local/hping && cd /usr/local/hping
wget https://github.com/antirez/hping/archive/master.zip && unzip master.zip && cd hping-master
yum install -y libpcap-devel
yum install -y gcc gcc-c++
yum install -y tcl tcl-devel
mkdir -p /usr/local/man/man8
./configure && make strip && make install

二 使用hping探测tcp端口是否打开

hping -S x.x.x.x -p 22

 

相关文章:

  • 2021-12-07
  • 2021-11-25
  • 2021-08-28
  • 2022-02-26
  • 2021-10-12
  • 2022-02-09
猜你喜欢
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-09-22
  • 2021-07-04
  • 2021-09-08
相关资源
相似解决方案