mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 13:26:05 +02:00
hping3: add page (#7147)
This commit is contained in:
parent
1025fec270
commit
26ecfa4969
1 changed files with 21 additions and 0 deletions
21
pages/common/hping3.md
Normal file
21
pages/common/hping3.md
Normal file
|
@ -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}}`
|
Loading…
Add table
Reference in a new issue