diff --git a/pages.fr/common/hping.md b/pages.fr/common/hping.md index 9250f34e3..1b5c4c9c7 100644 --- a/pages.fr/common/hping.md +++ b/pages.fr/common/hping.md @@ -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 : . +> Cette commande est un alias de `hping3`. +> Plus d'informations : . -- 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` diff --git a/pages/common/hping.md b/pages/common/hping.md index a171899d4..28dd1db97 100644 --- a/pages/common/hping.md +++ b/pages/common/hping.md @@ -1,25 +1,8 @@ # hping -> Command-line oriented TCP/IP packet assembler and analyzer. -> Inspired by the `ping` command. -> More information: . +> This command is an alias of `hping3`. +> More information: . -- 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` diff --git a/pages/common/hping3.md b/pages/common/hping3.md index 7794e3c73..4c66d7649 100644 --- a/pages/common/hping3.md +++ b/pages/common/hping3.md @@ -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}}`