From c2db2b45b7cb876c05420c679e0486450a758ada Mon Sep 17 00:00:00 2001 From: Antoine Amara Date: Sat, 5 Oct 2019 12:45:53 +0200 Subject: [PATCH] hping: add new page (#3305) --- pages/common/hping.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/common/hping.md diff --git a/pages/common/hping.md b/pages/common/hping.md new file mode 100644 index 000000000..a171899d4 --- /dev/null +++ b/pages/common/hping.md @@ -0,0 +1,25 @@ +# hping + +> Command-line oriented TCP/IP packet assembler and analyzer. +> Inspired by the `ping` command. +> More information: . + +- Ping localhost over TCP: + +`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}}`