🖥️nping
➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the nping command with important options and switches using examples.
2 minute read
▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁
# ███╗ ██╗██████╗ ██╗███╗ ██╗ ██████╗
# ████╗ ██║██╔══██╗██║████╗ ██║██╔════╝
# ██╔██╗ ██║██████╔╝██║██╔██╗ ██║██║ ███╗
# ██║╚██╗██║██╔═══╝ ██║██║╚██╗██║██║ ██║
# ██║ ╚████║██║ ██║██║ ╚████║╚██████╔╝
# ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝
# To perform a TCP connect() (handshake) with a host
nping --tcp-connect [target host]
# To perform a TCP connect()
nping --tcp-connect [target host] [target host] [target host]
# To attempt a TCP handshake on a port range (1-80)
nping --tcp-connect [target host] -p1-80 -c 1
# To send a UDP packet with 50 bytes of random data (to port 53 in this example)
nping --udp [target host] -p 53 --data-length 100
# Send 500 TCP packets at a rate of 50 packets per second
nping --tcp [target host] --rate 50 -c 500
# To send an ARP request to a particular host
ping --arp [target host]
# To send ARP requests to all hosts in the 192.168.1.0/24 network
nping --arp 192.168.1.0/24
# To send an ICMP echo request
nping [target host] --icmp --icmp-type echo
# To send an ICMP echo reply
nping google.com --icmp --icmp-type echo-reply
# To send a packet with a bad checksum from port 1221 to port 80
nping --udp --badsum --source-port 1221 -p 80 [target host]
# To toggle how verbose the output should be, simply append '-v ' followed by an integer between -4 (no output) and 4 (very verbose)
Cheatsheets are an excellent complement to other information sources like Linux man-pages, Linux help, or How-To’s and tutorials, as they provide compact and easily accessible information. While man-pages and detailed tutorials often contain comprehensive explanations and extensive guides, cheatsheets summarize the most important options forthe command nping in a clear format. This allows users to quickly access the needed information for nping without having to sift through lengthy texts. Especially in stressful situations or for recurring tasks, cheatsheets for nping are a valuable resource to work efficiently and purposefully.
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
█║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌
██╗ ██╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗
████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
╚██╔═██╔╝██║ ██║██║ ██║ ╚███╔╝ █████╗ ██║ ██║
████████╗██║ ██║██║ ██║ ██╔██╗ ██╔══╝ ██║ ██║
╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═════╝
█║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.