From 26ecfa49699d548359b89135e77fee1eeb3aa5a8 Mon Sep 17 00:00:00 2001 From: ciph3rz <46655414+ciph3rz@users.noreply.github.com> Date: Wed, 1 Dec 2021 20:56:30 -0500 Subject: [PATCH] hping3: add page (#7147) --- pages/common/hping3.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/common/hping3.md diff --git a/pages/common/hping3.md b/pages/common/hping3.md new file mode 100644 index 0000000000..81a5c2c124 --- /dev/null +++ b/pages/common/hping3.md @@ -0,0 +1,21 @@ +# hping3 + +> Advanced ping utility which supports protocols such TCP, UDP, and raw IP. +> Best run with elevated priviledges. +> More information: . + +- 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}}`