Advanced Guide To Using HPING tool [- advanced Ping Tool-]

#BASE OPTIONS
-q --quiet -v --version
-I --interface -V --verbose
-D --debug


-c --count count response packets
-i --interval secs or µsecs with u [1]
--beep beep every received packet (no icmp)
-n --numeric don’t resolv
-z --bind use ctrl+z to increment TTL
-Z --unbind
--fase 10 packets / sec
--master 1 packet / µs
--flood as fast as posible


#COMMON OPTIONS
-d --data datasize packet body size
-E --file insert into packet’s data
-e --sign signature lenght
-j --dump received packets in hex
-J --print dump in printable char
-B --safe lost pckts will be resend
-u --end send EOF when --file
-T --traceroute traceroute mode, also:
--tr-keep-ttl keep TTL fixed
--tr-stop exit on first not time icmp exceed
--tr-no-rtt dont show RTT
--tcpexitcode set exit code to tcpth_flag of last packet

#IP RELATED OPTIONS
-a --spoof hostname
--rand-source
--rand-dest host accepts X as wildcard
-t --ttl set ttl value
-N --id ip id [random]
-H --ipprot ip protocol in raw ip mode
-W--winid display id replies from win
-r --rel id increments
-f --frag split packets, [16bytes]
-x --morefrag send ICMP time-exceeded
-y --dontfrag perform PDMTU
-g --fragoff fragment offset value
-G --rroute includes RECORD_ROUTE
-m --mtu value
-o --tos set type of service, on hex

#ICMP RELATED OPTIONS
-C --icmptype default [echo]
-K --icmpcode ICMP code [0]
--icmp-ipver ip version [4]
--icmp-iphlen ip header length [5]
--icmp-iplen ip packet lenght [real len]
--icmp-ipid set ip id [rand]
--icmp-ipproto set ip protocol [tcp]
--icmp-cksum set checksum [valid]
--icmp-ts timestamp req
--icmp-addr mask req

TCP/UDP RELATED OPTIONS
-s --baseport [random],+1 on received
-p --destport [0] if have, have:
+port increased for each reply
++port increased for each sent
--keep still source port
-w --win set win size [64]
-O --tcpoff -b --badchksum
-M--setseq -L --setack
-Q --seqnum collect seq numbers
--tcp-timestamp set timestamp
TCP FLAGS
-F --fin -S --syn -R --rst
-P --push -A --ack -U --urg
-X --xmas -Y --ymas

PROTOCOL SELECTION
-0 --rawip -1 --icmp -2 --ucp
-8 --scan with: