Skip to content

Commit

Permalink
hping3: add page (tldr-pages#7147)
Browse files Browse the repository at this point in the history
  • Loading branch information
SethFalco committed Dec 5, 2021
1 parent 1025fec commit 63b6a41
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pages/common/hping3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# hping3

> Advanced ping utility which supports protocols such TCP, UDP, and raw IP.
> Best run with elevated priviledges.
> More information: <https://github.com/antirez/hping>.
- Ping a destination with 4 ICMP ping requests:

`hping3 --icmp --count {{4}} {{ip_or_hostname}}`

- Scan TCP port 80, scanning from the specific local source port 5090:

`hping3 --verbose --syn --destport {{80}} --baseport {{5090}} {{ip_or_hostname}}`

- Traceroute using a TCP scan to a specific destination port:

`hping3 --traceroute --verbose --syn --destport {{80}} {{ip_or_hostname}}`

- Perform a TCP ACK scan to check if a given host is alive:

`hping3 --count {{2}} --verbose --destport {{80}} -A {{ip_or_hostname}}`

0 comments on commit 63b6a41

Please sign in to comment.