network hping hping3 - ghdrako/doc_snipets GitHub Wiki

hping is a free packet generator and analyzer for the TCP/IP protocol.

send large volumes of TCP traffic at a target while spoofing the source IP address, making it appear random or even originating from a specific user-defined source.

hping3

hping3 is a command-line-oriented TCP/IP packet assembler/analyzer. It supports TCP, UDP, ICMP, and RAW-IP protocols, has a traceroute mode, the ability to send files between a covered channel

Hping3 is a scriptable program that uses the Tcl language, whereby packets can be received and sent via a binary or string representation describing the packets.

hping3 -c 3 <Target IP address>

Port Scanning (TCP SYN Scan) - send packet 3 time

hping3 -S IP -p 80 -c 3

TCP ACK Scan

hping3 -A 72.14.207.99 -p 80 -c 2

UDP Scans

hping3 -2 IP -p 80 -c 1

ICMP Ping

hping3 -1 132.148.4.168

Push and URG Scan

hping3 -F -P -u IP -p 80