当前位置:网站首页>Hping3 installation and use
Hping3 installation and use
2022-07-24 16:22:00 【Can't type 314】
hping3 Install and use
install
Install dependency library
Install the following dependent libraries first :
yum -y install libpcap
yum -y install libpcap-devel
yum -y install tcl-devel
Mode one : yum install
yum -y install hping3
Mode two : Source code install ( Installation error )
# download
wget http://www.hping.org/hping3-20051105.tar.gz
# decompression
tar xvf hping3-20051105.tar.gz
cd hping3-20051105
# To configure
./configure
# compile
make
# install
make install
Test environment
Two virtual machines
192.168.46.3
192.168.46.4
explain
192.168.46.4 Installed nginx service
Parameter description
Detailed instructions
https://blog.csdn.net/baidu_19348579/article/details/109443122?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522165811271716782184635478%2522%252C%2522scm%2522%253A%252220140713.130102334…%2522%257D&request_id=165811271716782184635478&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2alltop_positive~default-1-109443122-null-null.142v32pc_rank_34,185v2tag_show&utm_term=hping3&spm=1018.2226.3001.4187
Briefly explain
Global options
-I Specify the network interface used
-c Specify the number of contracts
–fast Specify the contracting rate , Per second 10 individual
–faster Specify the contracting rate , Per second 100 individual
–flood Specify the contracting rate , Send as fast as possible , No response
-E Read data from the specified file
-e Add signature , It's equivalent to connecting ’ password ’
-B Enable security protocols
-T Enable route tracking mode
-d Appoint data data size , The default is 0
-V Show the detailed process of contracting
Specify the contracting mode [ By default tcp Pattern ]:
-0 original ip Pattern , namely RAWSOCKET
-1 icmp Pattern
-2 udp Pattern
-8 Scanning mode
-9 Passive listening mode , Can be used for forward shell Connect
ip configuration option :
-a Forgery source ip
–rand-dest Use random destination address
–rand-source Use random source address
-t Appoint ttl value , The default is 64
-f Send using shards
icmp configuration option :
-C Appoint icmp type
udp/tcp configuration option :
-s Use the specified source port , The default is random
-p Specify the destination port
-w Specify packet size , The default is 64
-F Use FIN sign
-S Use SYN sign
-R Use RST sign
-A Use ACK sign
-U Use RUG sign
-P Use PUSH sign
Use
Port scanning
# adopt eth0 so , send out SYN message To 192.168.1.1:80
hping3 -I eth0 -S 192.168.46.4 -p 80
syn flood
Default protocol : tcp
Default source port : Random
Default source address : The attacker ip Address
# adopt eth0 so . send out SYN message To 192.168.46.4:80. The forged source address is 192.168.1.222, The time interval 1000us.
hping3 -I eth0 -S 192.168.46.4 -p 80 -a 192.168.1.222 -i u1000
# adopt eth0 so . send out SYN message To 192.168.46.4:80. Forge random source address , The time interval 1000us.
hping3 -I eth0 -S 192.168.46.4 -p 80 --rand-source -i u1000
# adopt eth0 so . send out SYN message To 192.168.46.4:80. Forge random source address , Flood attack .
# Flood attack , The fastest attack . No data will be displayed and Statistics of packet loss .
hping3 -I eth0 -S 192.168.46.4 -p 80 --rand-source --flood
udp flood
# send out udp message To 192.168.46.4:80.
hping3 --udp 192.168.46.4 -p 80
# send out udp message To 192.168.46.4:80. Forge random source address , Flood attack .
hping3 --udp 192.168.46.4 -p 80 --rand-source --flood
icmp flood
# send out icmp message To 192.168.46.4.
hping3 --icmp 192.168.46.4
# send out icmp message To 192.168.46.4. Forge random source address , Flood attack .
hping3 --icmp 192.168.46.4 --rand-source --flood
dns flood
# send out udp message To 192.168.1.1:53. Forge random source address , Flood attack .
hping3 --udp 192.168.1.1 -p 53 --rand-source --flood
Other references
https://blog.csdn.net/yk_wing4/article/details/102459068?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522165811271716780366569539%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=165811271716780366569539&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_ecpm_v1~pc_rank_34-24-102459068-null-null.142v32pc_rank_34,185v2tag_show&utm_term=hping3&spm=1018.2226.3001.4187
for example
hping3 -c 12000 -d 13000 -S -w 640 -p 8080 --flood --rand-source 192.168.46.129
Project requirement
[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-bEm4ipDE-1658473654885)(…\img\image-20220718174753836.png)]
边栏推荐
- Solution to deepin taskbar disappearance
- Withdrawal of IPO application, Yunzhou intelligent "tour" of unmanned boat enterprise fails to enter the science and Technology Innovation Board
- Wentai technology and Baoxin software deepened 5g cooperation, and 5g manufacturing settled in Baowu, China
- Wentai technology's revenue in the first quarter soared by 184.6% year-on-year, and its net profit soared by 256.21%!
- Dynamics 365: how to get the authentication information required to connect to D365 online from azure
- Ligerui table control grid changes the color of rows (cells) according to the content
- Four common post submission methods (application / x-www-form-urlencoded, multipart / form data, application / JSON, text / XML)
- Qt设计机器人仿真控制器——按键控制机器人关节转动
- 城市安全系列科普丨进入溺水高发期,救生常识话你知
- Some understanding of the rank sum of matrix and the rank of image
猜你喜欢

Parse string

leetcode:162. 寻找峰值【二分寻找峰值】

Caikeng Alibaba cloud Kex_ exchange_ identification: read: Connection reset by peer

自适应设计和响应式设计

Leetcode 220. duplicate element III exists

C# TCP客户端窗体应用程序异步接收方式

Adaptive design and responsive design
[email protected]"/>ZBar source code analysis - img_ scanner. c | [email protected]

如何在 PHP 中防止 XSS
![[loj3247] [USACO 2020.1 platinum](/img/69/f5f7996cd1bb97c84ba381c3df55be.png)
[loj3247] [USACO 2020.1 platinum "non declining subsequences (DP, divide and conquer)
随机推荐
[SWT] user defined data table
Introduction to kettle messy notes
【LeetCode】Day102-螺旋矩阵 II
How to choose the appropriate data type for fields in MySQL?
Some understanding of the rank sum of matrix and the rank of image
栈与队列——1047. 删除字符串中的所有相邻重复项
百度推广“删除重提”是什么意思?
Introduction to bermudagrass
【南京农业大学】考研初试复试资料分享
Software - prerequisite software
Multithreading (basic)
Is it safe for Anxin securities to open an account on mobile phone?
What is the difference between cookies, localstorage and sessionstorage?
收益率在百分之六以上的理财产品,请说一下
C TCP client form application asynchronous receiving mode
狗牙根植物介绍
Array in PHP_ The pit of merge
2022 / 7 / 20 training record
[SWT] scrolling container to realize commodity list style
Unity 相机自由移动控制