hping, hping3: update page (#10248)

pull/23/head
K.B.Dharun Krishna 2023-05-21 08:49:29 +05:30 committed by GitHub
parent 1c7baa2cb1
commit 405cc23be2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 43 deletions

View File

@ -1,25 +1,8 @@
# hping
> Outil en ligne de commande permettant d'assembler ou analyser des paquets TCP/IP.
> Inspirer par la commande `ping`.
> Plus d'informations : <http://www.hping.org>.
> Cette commande est un alias de `hping3`.
> Plus d'informations : <https://github.com/antirez/hping>.
- Ping localhost via TCP :
- Voir la documentation de la commande originale :
`hping3 {{localhost}}`
- 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}}`
`tldr hping3`

View File

@ -1,25 +1,8 @@
# hping
> Command-line oriented TCP/IP packet assembler and analyzer.
> Inspired by the `ping` command.
> More information: <http://www.hping.org>.
> This command is an alias of `hping3`.
> More information: <https://github.com/antirez/hping>.
- Ping localhost over TCP:
- View documentation for the original command:
`hping3 {{localhost}}`
- 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}}`
`tldr hping3`

View File

@ -8,6 +8,10 @@
`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:
`hping3 --verbose --syn --destport {{80}} --baseport {{5090}} {{ip_or_hostname}}`
@ -16,6 +20,14 @@
`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:
`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}}`