Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and use Hping under Linux

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to install and use Hping under Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install and use Hping under Linux.

Hping is a TCP/IP packet assembly / analysis tool used under the command line, its command mode is very similar to the ping command under Unix, but it can not only send ICMP echo requests, it can also support TCP, UDP, ICMP and RAW-IP protocols, it has a route tracking mode that can transfer files between two channels that contain each other.

Create a local installation directory

Mkdir-p / usr/local/hping & & cd / usr/local/hping

Download and decompress

Wget https://github.com/antirez/hping/archive/master.zip & & unzip master.zip & & cd hping-master

Install dependency packages

Yum install-y libpcap-develyum install-y gcc gcc-c++yum install-y tcl tcl-devel

Set up a soft connection

Ln-sf / usr/include/pcap-bpf.h / usr/include/net/bpf.h

Carry out installation

. / configure & & make strip & & make install

Test query version

Hping3-v

Other references

Hping-ltn lists all TCP ports hping-p initiates TCP probe-S sets up SYN package-a forged IP simulates DDOS here, I believe you have a deeper understanding of "how to install and use Hping under Linux", you might as well do it in practice! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report