Hping3


Platform: Linux kali141 5.3.0-kali1-amd64 #1 SMP Debian 5.3.7-1kali1 (2019-10-21) x86_64 GNU/Linux

概述


hping 是一款 TCP / IP 数据包编辑器/分析器。它支持TCP,UDP,ICMP 和 RAW-IP 协议,具有跟踪路由模式,在覆盖通道之间发送文件的功能以及许多其他功能。

Hping3 安装


apt install hping3 -y

Hping3 参数


root@kali141:~# hping3 -h
usage: hping3 host [options]
  -h  --help      show this help
  -v  --version   show version
  -c  --count     packet count
  -i  --interval  wait (uX for X microseconds, for example -i u1000)
      --fast      alias for -i u10000 (10 packets for second)
      --faster    alias for -i u1000 (100 packets for second)
      --flood      sent packets as fast as possible. Don't show replies.
  -n  --numeric   numeric output
  -q  --quiet     quiet
  -I  --interface interface name (otherwise default routing interface)
  -V  --verbose   verbose mode
  -D  --debug     debugging info
  -z  --bind      bind ctrl+z to ttl           (default to dst port)
  -Z  --unbind    unbind ctrl+z
      --beep      beep for every matching packet received
Mode
  default mode     TCP
  -0  --rawip      RAW IP mode
  -1  --icmp       ICMP mode
  -2  --udp        UDP mode
  -8  --scan       SCAN mode.
                   Example: hping --scan 1-30,70-90 -S www.target.host
  -9  --listen     listen mode
IP
  -a  --spoof      spoof source address
  --rand-dest      random destionation address mode. see the man.
  --rand-source    random source address mode. see the man.
  -t  --ttl        ttl (default 64)
  -N  --id         id (default random)
  -W  --winid      use win* id byte ordering
  -r  --rel        relativize id field          (to estimate host traffic)
  -f  --frag       split packets in more frag.  (may pass weak acl)
  -x  --morefrag   set more fragments flag
  -y  --dontfrag   set don't fragment flag
  -g  --fragoff    set the fragment offset
  -m  --mtu        set virtual mtu, implies --frag if packet size > mtu
  -o  --tos        type of service (default 0x00), try --tos help
  -G  --rroute     includes RECORD_ROUTE option and display the route buffer
  --lsrr           loose source routing and record route
  --ssrr           strict source routing and record route
  -H  --ipproto    set the IP protocol field, only in RAW IP mode
ICMP
  -C  --icmptype   icmp type (default echo request)
  -K  --icmpcode   icmp code (default 0)
      --force-icmp send all icmp types (default send only supported types)
      --icmp-gw    set gateway address for ICMP redirect (default 0.0.0.0)
      --icmp-ts    Alias for --icmp --icmptype 13 (ICMP timestamp)
      --icmp-addr  Alias for --icmp --icmptype 17 (ICMP address subnet mask)
      --icmp-help  display help for others icmp options
UDP/TCP
  -s  --baseport   base source port             (default random)
  -p  --destport   [+][+]<port> destination port(default 0) ctrl+z inc/dec
  -k  --keep       keep still source port
  -w  --win        winsize (default 64)
  -O  --tcpoff     set fake tcp data offset     (instead of tcphdrlen / 4)
  -Q  --seqnum     shows only tcp sequence number
  -b  --badcksum   (try to) send packets with a bad IP checksum
                   many systems will fix the IP checksum sending the packet
                   so you'll get bad UDP/TCP checksum instead.
  -M  --setseq     set TCP sequence number
  -L  --setack     set TCP ack
  -F  --fin        set FIN flag
  -S  --syn        set SYN flag
  -R  --rst        set RST flag
  -P  --push       set PUSH flag
  -A  --ack        set ACK flag
  -U  --urg        set URG flag
  -X  --xmas       set X unused flag (0x40)
  -Y  --ymas       set Y unused flag (0x80)
  --tcpexitcode    use last tcp->th_flags as exit code
  --tcp-mss        enable the TCP MSS option with the given value
  --tcp-timestamp  enable the TCP timestamp option to guess the HZ/uptime
Common
  -d  --data       data size                    (default is 0)
  -E  --file       data from file
  -e  --sign       add 'signature'
  -j  --dump       dump packets in hex
  -J  --print      dump printable characters
  -B  --safe       enable 'safe' protocol
  -u  --end        tell you when --file reached EOF and prevent rewind
  -T  --traceroute traceroute mode              (implies --bind and --ttl 1)
  --tr-stop        Exit when receive the first not ICMP in traceroute mode
  --tr-keep-ttl    Keep the source TTL fixed, useful to monitor just one hop
  --tr-no-rtt       Don't calculate/show RTT information in traceroute mode
ARS packet description (new, unstable)
  --apd-send       Send the packet described with APD (see docs/APD.txt)
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: 要下载hping3的中文版,可以按照以下步骤进行操作: 1. 打开互联网浏览器,比如谷歌浏览器、火狐浏览器等。 2. 在浏览器的搜索栏中输入“hping3中文版下载”,然后按下回车键。 3. 在搜索结果中,找到可靠和安全的网站,比如官方网站、软件下载网站等。 4. 进入所选网站后,寻找hping3的中文版下载链接或页面。 5. 点击下载链接或打开下载页面,并选择合适的下载选项,比如选择下载适用于你的操作系统版本的hping3中文版。 6. 下载过程可能需要一些时间,具体时间取决于你的网络速度和文件大小。 7. 下载完毕后,找到下载的文件,并双击运行安装程序。 8. 根据安装程序的指示,进行hping3中文版的安装。通常情况下,你只需按照默认设置进行安装即可。 9. 完成安装后,你可以在系统中找到hping3的快捷方式或在命令行中直接输入hping3命令来使用它。 请注意,在下载和安装任何软件时,一定要从可信的来源进行下载,以确保文件的安全性和可靠性。并且,使用软件时请在法律和道德的范围内进行,避免进行非法和伤害他人的活动。 ### 回答2: hping3是一款网络诊断工具,可以通过发送定制的数据包来测试网络的可达性、响应时间、丢包率等指标。它是一个开源工具,可在多种操作系统上运行。 如果您想下载hping3的中文版,可以按以下步骤操作: 1. 首先,打开您的网页浏览器,例如Chrome或Firefox。 2. 在浏览器的搜索栏中输入"hping3中文版下载",然后按下回车键进行搜索。 3. 检查搜索结果页面,看是否有可信赖的下载网站提供hping3中文版的下载。请注意,确保选择一个安全可靠的网站来下载软件,以防止下载恶意软件。 4. 找到适用于您的操作系统的版本。hping3可在Linux、Windows和Mac等多个操作系统上使用,所以请确保选择适合您的系统的版本。 5. 点击下载链接,开始下载hping3中文版安装包。 6. 下载完成后,双击运行安装程序,按照提示进行安装。请确保您有足够的权限来安装软件。 7. 安装完成后,您就可以在您的系统中使用hping3的中文版了。 总结:下载hping3中文版的方法是在网络上搜索可信赖的下载网站,选择适合您操作系统的版本,进行下载和安装。请谨慎选择下载网站,以确保安全性。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值