From 674c60702f96cc8b4dac5838de4de7a792c8f2eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20K=C3=BCthe?= Date: Wed, 12 Jul 2023 10:18:25 +0000 Subject: [PATCH] nping: add page (#10344) * nping: add page --- pages/common/nping.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/nping.md diff --git a/pages/common/nping.md b/pages/common/nping.md new file mode 100644 index 0000000000..45ffd3cc0b --- /dev/null +++ b/pages/common/nping.md @@ -0,0 +1,36 @@ +# nping + +> Network packet generation tool/ping utility. +> More information: . + +- Ping a specified host using ICMP if the user is allowed to, otherwise using TCP: + +`nping {{example.com}}` + +- Ping a specified host using ICMP assuming that the user is allowed to do so: + +`nping --icmp --privileged {{example.com}}` + +- Ping a specified host using UDP: + +`nping --udp {{example.com}}` + +- Ping a specified host on a given port using TCP: + +`nping --tcp --dest-port {{443}} {{example.com}}` + +- Ping a certain number of times: + +`nping --count {{10}} {{example.com}}` + +- Wait a certain amount of time between each ping: + +`nping --delay {{5s}} {{example.com}}` + +- Send the request over a specified interface: + +`nping --interface {{eth0}} {{example.com}}` + +- Set the Reserved/Evil bit in sent packets: + +`nping --evil {{example.com}}`