Skip to content

Instantly share code, notes, and snippets.

@cellularmitosis
Last active November 21, 2024 20:06
Show Gist options
  • Save cellularmitosis/a18fc81b74a7365c5162ea6493c89640 to your computer and use it in GitHub Desktop.
Save cellularmitosis/a18fc81b74a7365c5162ea6493c89640 to your computer and use it in GitHub Desktop.
hping3

Blog 2019/4/29

<- previous | index | next ->

hping3

Like ping, but for TCP ports.

I am not the author of hping3, please don't ask me to fix it

$ sudo hping3 -S -V -p 80 github.com
using en1, addr: 192.168.2.5, MTU: 1500
HPING github.com (en1 192.30.253.112): S set, 40 headers + 0 data bytes
len=44 ip=192.30.253.112 ttl=47 DF id=0 tos=0 iplen=44
sport=80 flags=SA seq=0 win=28720 rtt=64.6 ms
seq=2893730458 ack=809625076 sum=c00a urp=0

len=44 ip=192.30.253.112 ttl=48 DF id=0 tos=0 iplen=44
sport=80 flags=SA seq=1 win=28720 rtt=60.5 ms
seq=2898820301 ack=1401346771 sum=1a48 urp=0

len=44 ip=192.30.253.112 ttl=48 DF id=0 tos=0 iplen=44
sport=80 flags=SA seq=2 win=28720 rtt=57.0 ms
seq=2021630632 ack=1401918392 sum=999d urp=0

On Debian:

apt-get install hping3

On Mac OS:

brew install hping3

You'll need to ensure /usr/local/sbin in your $PATH.

@Dungdzqua
Copy link

os: Macos monterey
use brew
Error:hping has been disabled because it is not maintained upstream!

@imclint21
Copy link

need to fix it

@mariano-daniel
Copy link

need to fix it

Hello! Has it been fixed? Still getting the same error June 2024.

@wowhao333
Copy link

Hey, please maintain it, tku

brew install hping3
output>>Warning: No available formula with the name "hping3".

I already update brew list before install

brew install hping
output>>Error: hping has been disabled because it is not maintained upstream! It was disabled on 2024-02-15.

@Pranay0302
Copy link

I still don't think it has been updated.

@tallcyberguy
Copy link

Nov21 its still not updated.

@cellularmitosis
Copy link
Author

Hey y’all, I am not the author of hping3. If you comment here expecting the author of hping3 to see it, I have bad news for you :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment