mirror of https://github.com/CrimsonTome/tldr.git
hping, hping3: update page (#10248)
parent
1c7baa2cb1
commit
405cc23be2
|
@ -1,25 +1,8 @@
|
||||||
# hping
|
# hping
|
||||||
|
|
||||||
> Outil en ligne de commande permettant d'assembler ou analyser des paquets TCP/IP.
|
> Cette commande est un alias de `hping3`.
|
||||||
> Inspirer par la commande `ping`.
|
> Plus d'informations : <https://github.com/antirez/hping>.
|
||||||
> Plus d'informations : <http://www.hping.org>.
|
|
||||||
|
|
||||||
- Ping localhost via TCP :
|
- Voir la documentation de la commande originale :
|
||||||
|
|
||||||
`hping3 {{localhost}}`
|
`tldr hping3`
|
||||||
|
|
||||||
- Ping une adresse IP, via TCP, sur un port spécifique :
|
|
||||||
|
|
||||||
`hping3 -p {{80}} -S {{192.168.1.1}}`
|
|
||||||
|
|
||||||
- Ping une adresse IP, via UDP, sur le port 80 :
|
|
||||||
|
|
||||||
`hping3 --udp -p {{80}} -S {{192.168.1.1}}`
|
|
||||||
|
|
||||||
- Scanner un ensemble de ports TCP, sur une adresse IP spécifique :
|
|
||||||
|
|
||||||
`hping3 --scan {{80,3000,9000}} -S {{192.168.1.1}}`
|
|
||||||
|
|
||||||
- Effectuer un test de montée en charge sur le port 80 :
|
|
||||||
|
|
||||||
`hping3 --flood -p {{80}} -S {{192.168.1.1}}`
|
|
||||||
|
|
|
@ -1,25 +1,8 @@
|
||||||
# hping
|
# hping
|
||||||
|
|
||||||
> Command-line oriented TCP/IP packet assembler and analyzer.
|
> This command is an alias of `hping3`.
|
||||||
> Inspired by the `ping` command.
|
> More information: <https://github.com/antirez/hping>.
|
||||||
> More information: <http://www.hping.org>.
|
|
||||||
|
|
||||||
- Ping localhost over TCP:
|
- View documentation for the original command:
|
||||||
|
|
||||||
`hping3 {{localhost}}`
|
`tldr hping3`
|
||||||
|
|
||||||
- Ping an IP address over TCP on a specific port:
|
|
||||||
|
|
||||||
`hping3 -p {{80}} -S {{192.168.1.1}}`
|
|
||||||
|
|
||||||
- Ping an IP address over UDP on port 80:
|
|
||||||
|
|
||||||
`hping3 --udp -p {{80}} -S {{192.168.1.1}}`
|
|
||||||
|
|
||||||
- Scan a set of TCP ports on a specific IP address:
|
|
||||||
|
|
||||||
`hping3 --scan {{80,3000,9000}} -S {{192.168.1.1}}`
|
|
||||||
|
|
||||||
- Perform a charge test on port 80:
|
|
||||||
|
|
||||||
`hping3 --flood -p {{80}} -S {{192.168.1.1}}`
|
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
|
|
||||||
`hping3 --icmp --count {{4}} {{ip_or_hostname}}`
|
`hping3 --icmp --count {{4}} {{ip_or_hostname}}`
|
||||||
|
|
||||||
|
- Ping an IP address over UDP on port 80:
|
||||||
|
|
||||||
|
`hping3 --udp --destport {{80}} --syn {{ip_or_hostname}}`
|
||||||
|
|
||||||
- Scan TCP port 80, scanning from the specific local source port 5090:
|
- Scan TCP port 80, scanning from the specific local source port 5090:
|
||||||
|
|
||||||
`hping3 --verbose --syn --destport {{80}} --baseport {{5090}} {{ip_or_hostname}}`
|
`hping3 --verbose --syn --destport {{80}} --baseport {{5090}} {{ip_or_hostname}}`
|
||||||
|
@ -16,6 +20,14 @@
|
||||||
|
|
||||||
`hping3 --traceroute --verbose --syn --destport {{80}} {{ip_or_hostname}}`
|
`hping3 --traceroute --verbose --syn --destport {{80}} {{ip_or_hostname}}`
|
||||||
|
|
||||||
|
- Scan a set of TCP ports on a specific IP address:
|
||||||
|
|
||||||
|
`hping3 --scan {{80,3000,9000}} --syn {{ip_or_hostname}}`
|
||||||
|
|
||||||
- Perform a TCP ACK scan to check if a given host is alive:
|
- Perform a TCP ACK scan to check if a given host is alive:
|
||||||
|
|
||||||
`hping3 --count {{2}} --verbose --destport {{80}} -A {{ip_or_hostname}}`
|
`hping3 --count {{2}} --verbose --destport {{80}} --ack {{ip_or_hostname}}`
|
||||||
|
|
||||||
|
- Perform a charge test on port 80:
|
||||||
|
|
||||||
|
`hping3 --flood --destport {{80}} --syn {{ip_or_hostname}}`
|
||||||
|
|
Loading…
Reference in New Issue